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

Unified Diff: chrome/browser/chromeos/input_method/mock_input_method_engine.h

Issue 641243005: Support a private event - inputMethodPrivate.onCompositionBoundsChanged so that component IME exten… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits + unit test Created 6 years, 2 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.h
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_engine.h b/chrome/browser/chromeos/input_method/mock_input_method_engine.h
index 4926f7e9517fbaab8deece3f2b3509c248f79659..83bedda084569df7377b431e04421deb3ad4f7cd 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_engine.h
+++ b/chrome/browser/chromeos/input_method/mock_input_method_engine.h
@@ -32,7 +32,7 @@ struct KeyEventHandle;
class MockInputMethodEngine : public InputMethodEngineInterface {
public:
- explicit MockInputMethodEngine();
+ MockInputMethodEngine();
virtual ~MockInputMethodEngine();
// InputMethodEngineInterface overrides.
@@ -81,6 +81,7 @@ class MockInputMethodEngine : public InputMethodEngineInterface {
virtual void CandidateClicked(uint32 index) override;
virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos,
uint32 anchor_pos) override;
+ virtual void SetCompositionBounds(const gfx::Rect& bounds) override;
virtual void HideInputView() override;
std::string last_activated_property() const {

Powered by Google App Engine
This is Rietveld 408576698