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

Unified Diff: ui/base/ime/chromeos/mock_ime_engine_handler.h

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 | « ui/base/ime/BUILD.gn ('k') | ui/base/ime/chromeos/mock_ime_engine_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/mock_ime_engine_handler.h
diff --git a/ui/base/ime/chromeos/mock_ime_engine_handler.h b/ui/base/ime/chromeos/mock_ime_engine_handler.h
index 053e8c115cbd68ac8cc5bb20ad725dadfdb4f743..c3f298858d2c7e30f80ed12cbe93a86208332792 100644
--- a/ui/base/ime/chromeos/mock_ime_engine_handler.h
+++ b/ui/base/ime/chromeos/mock_ime_engine_handler.h
@@ -74,23 +74,12 @@ class UI_BASE_IME_EXPORT MockIMEEngineHandler
return last_passed_callback_;
}
- bool SetComposition(int context_id,
- const char* text,
- int selection_start,
- int selection_end,
- int cursor,
- const std::vector<SegmentInfo>& segments,
- std::string* error) override;
-
bool ClearComposition(int context_id, std::string* error) override;
bool CommitText(int context_id,
const char* text,
std::string* error) override;
- bool SendKeyEvents(int context_id,
- const std::vector<KeyboardEvent>& events) override;
-
bool IsActive() const override;
const std::string& GetActiveComponentId() const override;
@@ -100,25 +89,12 @@ class UI_BASE_IME_EXPORT MockIMEEngineHandler
size_t number_of_chars,
std::string* error) override;
- const CandidateWindowProperty& GetCandidateWindowProperty() const override;
-
- void SetCandidateWindowProperty(
- const CandidateWindowProperty& property) override {}
-
bool SetCandidateWindowVisible(bool visible, std::string* error) override;
- bool SetCandidates(int context_id,
- const std::vector<Candidate>& candidates,
- std::string* error) override;
-
bool SetCursorPosition(int context_id,
int candidate_id,
std::string* error) override;
- bool SetMenuItems(const std::vector<MenuItem>& items) override;
-
- bool UpdateMenuItems(const std::vector<MenuItem>& items) override;
-
void HideInputView() override {}
private:
@@ -135,7 +111,6 @@ class UI_BASE_IME_EXPORT MockIMEEngineHandler
scoped_ptr<ui::KeyEvent> last_processed_key_event_;
KeyEventDoneCallback last_passed_callback_;
std::string active_component_id_;
- CandidateWindowProperty candidate_window_property_;
};
} // namespace chromeos
« no previous file with comments | « ui/base/ime/BUILD.gn ('k') | ui/base/ime/chromeos/mock_ime_engine_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698