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

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

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: rebase Created 3 years, 7 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/base/ime/input_method.h ('k') | ui/base/ime/input_method_base.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_BASE_H_
6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_ 6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 25 matching lines...) Expand all
36 InputMethodBase(); 36 InputMethodBase();
37 ~InputMethodBase() override; 37 ~InputMethodBase() override;
38 38
39 // Overriden from InputMethod. 39 // Overriden from InputMethod.
40 void SetDelegate(internal::InputMethodDelegate* delegate) override; 40 void SetDelegate(internal::InputMethodDelegate* delegate) override;
41 void OnFocus() override; 41 void OnFocus() override;
42 void OnBlur() override; 42 void OnBlur() override;
43 void SetFocusedTextInputClient(TextInputClient* client) override; 43 void SetFocusedTextInputClient(TextInputClient* client) override;
44 void DetachTextInputClient(TextInputClient* client) override; 44 void DetachTextInputClient(TextInputClient* client) override;
45 TextInputClient* GetTextInputClient() const override; 45 TextInputClient* GetTextInputClient() const override;
46 void SetOnScreenKeyboardBounds(const gfx::Rect& new_bounds) override;
46 47
47 // If a derived class overrides this method, it should call parent's 48 // If a derived class overrides this method, it should call parent's
48 // implementation. 49 // implementation.
49 void OnTextInputTypeChanged(const TextInputClient* client) override; 50 void OnTextInputTypeChanged(const TextInputClient* client) override;
50 void OnInputLocaleChanged() override; 51 void OnInputLocaleChanged() override;
51 bool IsInputLocaleCJK() const override; 52 bool IsInputLocaleCJK() const override;
52 53
53 TextInputType GetTextInputType() const override; 54 TextInputType GetTextInputType() const override;
54 TextInputMode GetTextInputMode() const override; 55 TextInputMode GetTextInputMode() const override;
55 int GetTextInputFlags() const override; 56 int GetTextInputFlags() const override;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 118
118 void SetFocusedTextInputClientInternal(TextInputClient* client); 119 void SetFocusedTextInputClientInternal(TextInputClient* client);
119 120
120 internal::InputMethodDelegate* delegate_; 121 internal::InputMethodDelegate* delegate_;
121 TextInputClient* text_input_client_; 122 TextInputClient* text_input_client_;
122 123
123 base::ObserverList<InputMethodObserver> observer_list_; 124 base::ObserverList<InputMethodObserver> observer_list_;
124 125
125 std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_; 126 std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_;
126 127
128 // Screen bounds of a on-screen keyboard.
129 gfx::Rect keyboard_bounds_;
130
127 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); 131 DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
128 }; 132 };
129 133
130 } // namespace ui 134 } // namespace ui
131 135
132 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_ 136 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method.h ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698