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

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

Issue 1615073005: Revert of Makes sure the keyboard typing isn't blocked when InputMethod::OnFocus() is not correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/BUILD.gn ('k') | ui/base/ime/input_method_auralinux.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_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_H_
6 #define UI_BASE_IME_INPUT_METHOD_H_ 6 #define UI_BASE_IME_INPUT_METHOD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/event_types.h" 12 #include "base/event_types.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "ui/base/ime/input_method_log_collector.h"
15 #include "ui/base/ime/text_input_mode.h" 14 #include "ui/base/ime/text_input_mode.h"
16 #include "ui/base/ime/text_input_type.h" 15 #include "ui/base/ime/text_input_type.h"
17 16
18 namespace ui { 17 namespace ui {
19 18
20 namespace internal { 19 namespace internal {
21 class InputMethodDelegate; 20 class InputMethodDelegate;
22 } // namespace internal 21 } // namespace internal
23 22
24 class InputMethodObserver; 23 class InputMethodObserver;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // etc.) is open. Returns false if no popup window is open or the detection 145 // etc.) is open. Returns false if no popup window is open or the detection
147 // of IME popups is not supported. 146 // of IME popups is not supported.
148 virtual bool IsCandidatePopupOpen() const = 0; 147 virtual bool IsCandidatePopupOpen() const = 0;
149 148
150 // Displays an on screen keyboard if enabled. 149 // Displays an on screen keyboard if enabled.
151 virtual void ShowImeIfNeeded() = 0; 150 virtual void ShowImeIfNeeded() = 0;
152 151
153 // Management of the observer list. 152 // Management of the observer list.
154 virtual void AddObserver(InputMethodObserver* observer) = 0; 153 virtual void AddObserver(InputMethodObserver* observer) = 0;
155 virtual void RemoveObserver(InputMethodObserver* observer) = 0; 154 virtual void RemoveObserver(InputMethodObserver* observer) = 0;
156
157 virtual InputMethodLogCollector* GetLogCollector() = 0;
158 }; 155 };
159 156
160 } // namespace ui 157 } // namespace ui
161 158
162 #endif // UI_BASE_IME_INPUT_METHOD_H_ 159 #endif // UI_BASE_IME_INPUT_METHOD_H_
OLDNEW
« no previous file with comments | « ui/base/ime/BUILD.gn ('k') | ui/base/ime/input_method_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698