-
Notifications
You must be signed in to change notification settings - Fork 6k
Merge MSAA alert functionality with UIA #38745
Changes from 1 commit
3be3387
3465272
1a7171b
0a20b2f
7f78a69
8982f08
77ee7b9
6352acd
bfa0289
5aa4c77
2970345
ae7ea18
463b74b
4abf2a1
2dfe876
0ab2478
efe2657
42d7721
cfedb56
5373390
48f0315
111ad30
d32c151
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,11 +12,13 @@ namespace flutter { | |
|
|
||
| class AlertPlatformNodeDelegate : public ui::AXPlatformNodeDelegateBase { | ||
| public: | ||
| explicit AlertPlatformNodeDelegate(ui::AXPlatformNodeDelegate* parent_delegate); | ||
| explicit AlertPlatformNodeDelegate( | ||
| ui::AXPlatformNodeDelegate* parent_delegate); | ||
yaakovschectman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ~AlertPlatformNodeDelegate(); | ||
|
|
||
| AlertPlatformNodeDelegate(const AlertPlatformNodeDelegate& other) = delete; | ||
| AlertPlatformNodeDelegate operator=(const AlertPlatformNodeDelegate& other) = delete; | ||
| AlertPlatformNodeDelegate operator=(const AlertPlatformNodeDelegate& other) = | ||
| delete; | ||
|
|
||
| void SetText(const std::u16string& text); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also leaning towards keeping this a string reference, but, the string reference is also copied when
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes - to benefit from this, you'd need any methods this gets passed to to also take a view rather than a string ref. If the current implementation is doing so, then leave as-is; at some point we can do a sweep of the codebase to clean these up across the board. |
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a doc comment. (True, we lack a lot in existing code but good to remedy in new code)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do a pass, there's several other fields that are also missing comments