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

Side by Side Diff: ui/base/ime/input_method_observer.h

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)
Patch Set: Disabled all tests Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « ui/accessibility/platform/ax_system_caret_win.cc ('k') | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_OBSERVER_H_
6 #define UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ 6 #define UI_BASE_IME_INPUT_METHOD_OBSERVER_H_
7 7
8 #include "ui/base/ime/ui_base_ime_export.h" 8 #include "ui/base/ime/ui_base_ime_export.h"
9 9
10 namespace ui { 10 namespace ui {
(...skipping 11 matching lines...) Expand all
22 22
23 // Called when the top-level system window gets keyboard focus. Currently 23 // Called when the top-level system window gets keyboard focus. Currently
24 // only used by the mock input method for testing. 24 // only used by the mock input method for testing.
25 virtual void OnFocus() = 0; 25 virtual void OnFocus() = 0;
26 26
27 // Called when the top-level system window loses keyboard focus. Currently 27 // Called when the top-level system window loses keyboard focus. Currently
28 // only used by the mock input method for testing. 28 // only used by the mock input method for testing.
29 virtual void OnBlur() = 0; 29 virtual void OnBlur() = 0;
30 30
31 // Called whenever the caret bounds is changed for the input client. 31 // Called whenever the caret bounds is changed for the input client.
32 // Currently only used by the mock input method for testing.
33 virtual void OnCaretBoundsChanged(const TextInputClient* client) = 0; 32 virtual void OnCaretBoundsChanged(const TextInputClient* client) = 0;
34 33
35 // Called when either: 34 // Called when either:
36 // - the TextInputClient is changed (e.g. by a change of focus) 35 // - the TextInputClient is changed (e.g. by a change of focus)
37 // - the TextInputType of the TextInputClient changes 36 // - the TextInputType of the TextInputClient changes
38 virtual void OnTextInputStateChanged(const TextInputClient* client) = 0; 37 virtual void OnTextInputStateChanged(const TextInputClient* client) = 0;
39 38
40 // Called when the observed InputMethod is being destroyed. 39 // Called when the observed InputMethod is being destroyed.
41 virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0; 40 virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0;
42 41
43 // Called when a user gesture should trigger showing the virtual keyboard 42 // Called when a user gesture should trigger showing the virtual keyboard
44 // or alternate input view (e.g. handwriting palette). Used in ChromeOS. 43 // or alternate input view (e.g. handwriting palette). Used in ChromeOS.
45 virtual void OnShowImeIfNeeded() = 0; 44 virtual void OnShowImeIfNeeded() = 0;
46 }; 45 };
47 46
48 } // namespace ui 47 } // namespace ui
49 48
50 #endif // UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ 49 #endif // UI_BASE_IME_INPUT_METHOD_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/accessibility/platform/ax_system_caret_win.cc ('k') | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698