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..fb0ecdeafd42d6033cc2b7520f3942b790876e72 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: |
+ // For tracking the caret for accessibility. |
+ virtual void AddInputMethodObserver(ui::InputMethodObserver& observer) = 0; |
sky
2017/05/03 03:34:49
Generally observers are in terms of pointers, so p
|
+ 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; |