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

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
« no previous file with comments | « chrome/browser/input_method/input_method_engine_base.h ('k') | ui/base/ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f74f376fa7ab1a0d60a7ef1b234895d19c8ca962 100644
--- a/chrome/browser/input_method/input_method_engine_base.cc
+++ b/chrome/browser/input_method/input_method_engine_base.cc
@@ -168,6 +168,11 @@ void GetExtensionKeyboardEventFromKeyEvent(
} // namespace
+InputMethodEngineBase::KeyboardEvent::KeyboardEvent()
+ : alt_key(false), ctrl_key(false), shift_key(false), caps_lock(false) {}
+
+InputMethodEngineBase::KeyboardEvent::~KeyboardEvent() {}
+
InputMethodEngineBase::InputMethodEngineBase()
: current_input_type_(ui::TEXT_INPUT_TYPE_NONE),
context_id_(0),
@@ -180,7 +185,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.";
« no previous file with comments | « chrome/browser/input_method/input_method_engine_base.h ('k') | ui/base/ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698