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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_api.h

Issue 11299270: Add a parameter that specifies whether onKeyEvent is asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fix Created 8 years 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 | « no previous file | chrome/browser/extensions/api/input_ime/input_ime_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/input_ime/input_ime_api.h
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.h b/chrome/browser/extensions/api/input_ime/input_ime_api.h
index 2ef58dacd84bab53ff60242fb9e2d7c172daa1b5..5708a3f8d03c7486fc96cc06e562d11c2a98b154 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api.h
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api.h
@@ -40,9 +40,9 @@ class InputImeEventRouter {
// Called when a key event was handled.
- void OnEventHandled(const std::string& extension_id,
- const std::string& request_id,
- bool handled);
+ void OnKeyEventHandled(const std::string& extension_id,
+ const std::string& request_id,
+ bool handled);
std::string AddRequest(const std::string& engine_id,
chromeos::input_method::KeyEventHandle* key_data);
@@ -159,12 +159,12 @@ class UpdateMenuItemsFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
-class InputEventHandled : public AsyncExtensionFunction {
+class KeyEventHandled : public AsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION_NAME("input.ime.eventHandled");
+ DECLARE_EXTENSION_FUNCTION_NAME("input.ime.keyEventHandled");
protected:
- virtual ~InputEventHandled() {}
+ virtual ~KeyEventHandled() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/input_ime/input_ime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698