Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: ui/views/accessibility/native_view_accessibility.h

Issue 2341633006: MacViews/a11y: Allow accessibility clients to update the selected text. (Closed)
Patch Set: Move accessibility notification for text selection being changed to SelectRange() instead. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/accessibility/native_view_accessibility.h
diff --git a/ui/views/accessibility/native_view_accessibility.h b/ui/views/accessibility/native_view_accessibility.h
index 95fcc3de365335cae6225445619c55bb91f72687..a695eb10a814849a82fb17663d2f11ffd6fac145 100644
--- a/ui/views/accessibility/native_view_accessibility.h
+++ b/ui/views/accessibility/native_view_accessibility.h
@@ -58,6 +58,7 @@ class VIEWS_EXPORT NativeViewAccessibility
void DoDefaultAction() override;
bool SetStringValue(const base::string16& new_value) override;
bool CanSetStringValue() override;
+ bool ReplaceSelectedText(const base::string16& new_value) override;
// WidgetObserver
void OnWidgetDestroying(Widget* widget) override;

Powered by Google App Engine
This is Rietveld 408576698