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

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

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)
Patch Set: Added a fake caret for accessibility. Created 3 years, 6 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..a6d20d739c8279d76044d44f5e026358faf8b5aa 100644
--- a/ui/views/win/hwnd_message_handler_delegate.h
+++ b/ui/views/win/hwnd_message_handler_delegate.h
@@ -16,6 +16,7 @@ class Size;
namespace ui {
class Accelerator;
+class InputMethodObserver;
class KeyEvent;
class MouseEvent;
class TouchEvent;
@@ -33,6 +34,10 @@ enum class FrameMode {
// notifications from the underlying HWND and service requests for data.
class VIEWS_EXPORT HWNDMessageHandlerDelegate {
public:
+ // Required for tracking the caret by some accessibility software.
+ virtual void AddInputMethodObserver(ui::InputMethodObserver* observer) = 0;
sky 2017/06/19 15:00:14 How about exposing the InputMethod instead, e.g. G
+ virtual void RemoveInputMethodObserver(ui::InputMethodObserver* observer) = 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