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

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

Issue 2077783002: Make limitations for input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos error. Created 4 years, 6 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: ui/base/ime/chromeos/mock_ime_input_context_handler.h
diff --git a/ui/base/ime/chromeos/mock_ime_input_context_handler.h b/ui/base/ime/chromeos/mock_ime_input_context_handler.h
index 751dad952eb9f52fcd24ed339c3c3198588a7bdc..b48ba3fafca795834761b8a132dc162b6a853e98 100644
--- a/ui/base/ime/chromeos/mock_ime_input_context_handler.h
+++ b/ui/base/ime/chromeos/mock_ime_input_context_handler.h
@@ -11,6 +11,10 @@
#include "ui/base/ime/ime_input_context_handler_interface.h"
#include "ui/base/ime/ui_base_ime_export.h"
+namespace ui {
+class InputMethod;
+} // ui
+
namespace chromeos {
class UI_BASE_IME_EXPORT MockIMEInputContextHandler
@@ -36,6 +40,7 @@ class UI_BASE_IME_EXPORT MockIMEInputContextHandler
bool visible) override;
void DeleteSurroundingText(int32_t offset, uint32_t length) override;
void SendKeyEvent(ui::KeyEvent* event) override;
+ ui::InputMethod* GetInputMethod() override;
int commit_text_call_count() const { return commit_text_call_count_; }

Powered by Google App Engine
This is Rietveld 408576698