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

Unified Diff: ui/base/ime/input_method_base.h

Issue 2957173004: Make DispatchKeyEventPostIME() asynchronous.
Patch Set: cleanup. 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/ime/input_method_base.h
diff --git a/ui/base/ime/input_method_base.h b/ui/base/ime/input_method_base.h
index dbf9df4ecbdc88c07a18242c82fc30356350d5ac..17b440cbf80efaa441c4b2af035652a5b41b1e75 100644
--- a/ui/base/ime/input_method_base.h
+++ b/ui/base/ime/input_method_base.h
@@ -111,6 +111,8 @@ class UI_BASE_IME_EXPORT InputMethodBase
// This is used in SendKeyEvent.
bool sending_key_event_;
+ internal::InputMethodDelegate* delegate_;
+
private:
// InputMethod:
const std::vector<std::unique_ptr<ui::KeyEvent>>& GetKeyEventsForTesting()
@@ -118,7 +120,6 @@ class UI_BASE_IME_EXPORT InputMethodBase
void SetFocusedTextInputClientInternal(TextInputClient* client);
- internal::InputMethodDelegate* delegate_;
TextInputClient* text_input_client_;
base::ObserverList<InputMethodObserver> observer_list_;

Powered by Google App Engine
This is Rietveld 408576698