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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 2781613003: Added a class acting as a fake caret for accessibility. (Closed)
Patch Set: Added code that handles views. Created 3 years, 8 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/win/hwnd_message_handler_delegate.h
diff --git a/ui/views/win/hwnd_message_handler_delegate.h b/ui/views/win/hwnd_message_handler_delegate.h
index f5328c49e708efc084432f2be569f2f58ca99573..925dabbc265a2c0883345238b05d5827f51881c8 100644
--- a/ui/views/win/hwnd_message_handler_delegate.h
+++ b/ui/views/win/hwnd_message_handler_delegate.h
@@ -33,6 +33,10 @@ enum class FrameMode {
// notifications from the underlying HWND and service requests for data.
class VIEWS_EXPORT HWNDMessageHandlerDelegate {
public:
+ // For tracking the caret for accessibility.
+ virtual void AddInputMethodObserver() const = 0;
+ virtual void RemoveInputMethodObserver() const = 0;
+
// True if the widget associated with this window has a non-client view.
virtual bool HasNonClientView() const = 0;
« ui/views/win/hwnd_message_handler.cc ('K') | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698