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

Unified Diff: chrome/browser/chromeos/input_method/mock_input_method_engine.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/chromeos/input_method/mock_input_method_engine.cc
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_engine.cc b/chrome/browser/chromeos/input_method/mock_input_method_engine.cc
index f3c347c002228615fa619cd2a689a55a9bcef551..42d8823bdca68b80e87cd0963fb298838b8c769f 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_engine.cc
+++ b/chrome/browser/chromeos/input_method/mock_input_method_engine.cc
@@ -17,17 +17,6 @@ const std::string& MockInputMethodEngine::GetActiveComponentId() const {
return active_component_id_;
}
-bool MockInputMethodEngine::SetComposition(
- int context_id,
- const char* text,
- int selection_start,
- int selection_end,
- int cursor,
- const std::vector<SegmentInfo>& segments,
- std::string* error) {
- return true;
-}
-
bool MockInputMethodEngine::ClearComposition(int context_id,
std::string* error) {
return true;
@@ -39,47 +28,17 @@ bool MockInputMethodEngine::CommitText(int context_id,
return true;
}
-bool MockInputMethodEngine::SendKeyEvents(
- int context_id,
- const std::vector<KeyboardEvent>& events) {
- return true;
-}
-
-const MockInputMethodEngine::CandidateWindowProperty&
-MockInputMethodEngine::GetCandidateWindowProperty() const {
- return candidate_window_property_;
-}
-
-void MockInputMethodEngine::SetCandidateWindowProperty(
- const CandidateWindowProperty& property) {}
-
bool MockInputMethodEngine::SetCandidateWindowVisible(bool visible,
std::string* error) {
return true;
}
-bool MockInputMethodEngine::SetCandidates(
- int context_id,
- const std::vector<Candidate>& candidates,
- std::string* error) {
- return true;
-}
-
bool MockInputMethodEngine::SetCursorPosition(int context_id,
int candidate_id,
std::string* error) {
return true;
}
-bool MockInputMethodEngine::SetMenuItems(const std::vector<MenuItem>& items) {
- return true;
-}
-
-bool MockInputMethodEngine::UpdateMenuItems(
- const std::vector<MenuItem>& items) {
- return true;
-}
-
bool MockInputMethodEngine::IsActive() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698