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

Unified Diff: chrome/browser/input_method/input_method_engine_base.cc

Issue 1590863002: Move the local struct definitions off ui/base/ime. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/input_method/input_method_engine_base.cc
diff --git a/chrome/browser/input_method/input_method_engine_base.cc b/chrome/browser/input_method/input_method_engine_base.cc
index 0341e8871332a7503472e20a1dc2a3bcc44e5826..2959bc6ed4914dd715bae3bc250c679415b1f272 100644
--- a/chrome/browser/input_method/input_method_engine_base.cc
+++ b/chrome/browser/input_method/input_method_engine_base.cc
@@ -168,6 +168,13 @@ void GetExtensionKeyboardEventFromKeyEvent(
} // namespace
+InputMethodEngineBase::KeyboardEvent::KeyboardEvent()
+ : alt_key(false), ctrl_key(false), shift_key(false), caps_lock(false) {}
+
+InputMethodEngineBase::KeyboardEvent::~KeyboardEvent() {}
+
+InputMethodEngineBase::Observer::~Observer() {}
+
InputMethodEngineBase::InputMethodEngineBase()
: current_input_type_(ui::TEXT_INPUT_TYPE_NONE),
context_id_(0),
@@ -180,7 +187,7 @@ InputMethodEngineBase::InputMethodEngineBase()
InputMethodEngineBase::~InputMethodEngineBase() {}
void InputMethodEngineBase::Initialize(
- scoped_ptr<ui::IMEEngineObserver> observer,
+ scoped_ptr<InputMethodEngineBase::Observer> observer,
const char* extension_id,
Profile* profile) {
DCHECK(observer) << "Observer must not be null.";

Powered by Google App Engine
This is Rietveld 408576698