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

Unified Diff: chrome/browser/extensions/extension_input_ime_api.h

Issue 8713006: Revert "Reland "Move a bunch of ChromeOS APIs out of chrome/browser/extensions.""" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/extensions/extension_input_ime_api.h
diff --git a/chrome/browser/chromeos/extensions/input_ime_extension_api.h b/chrome/browser/extensions/extension_input_ime_api.h
similarity index 87%
rename from chrome/browser/chromeos/extensions/input_ime_extension_api.h
rename to chrome/browser/extensions/extension_input_ime_api.h
index 10ea9acde77277cc9338e26b4b5da721ff83f433..c6bb79bf59984871ea69f0ff9d06616d9641d7f0 100644
--- a/chrome/browser/chromeos/extensions/input_ime_extension_api.h
+++ b/chrome/browser/extensions/extension_input_ime_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_IME_EXTENSION_API_H_
-#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_IME_EXTENSION_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_
#pragma once
#include "chrome/browser/extensions/extension_function.h"
@@ -24,9 +24,9 @@ class InputMethodEngine;
class ImeObserver;
}
-class InputImeExtensionEventRouter {
+class ExtensionInputImeEventRouter {
public:
- static InputImeExtensionEventRouter* GetInstance();
+ static ExtensionInputImeEventRouter* GetInstance();
void Init();
bool RegisterIme(Profile* profile,
@@ -46,12 +46,12 @@ class InputImeExtensionEventRouter {
chromeos::input_method::KeyEventHandle* key_data);
private:
- friend struct DefaultSingletonTraits<InputImeExtensionEventRouter>;
+ friend struct DefaultSingletonTraits<ExtensionInputImeEventRouter>;
typedef std::map<std::string, std::pair<std::string,
chromeos::input_method::KeyEventHandle*> > RequestMap;
- InputImeExtensionEventRouter();
- ~InputImeExtensionEventRouter();
+ ExtensionInputImeEventRouter();
+ ~ExtensionInputImeEventRouter();
std::map<std::string, std::map<std::string, chromeos::InputMethodEngine*> >
engines_;
@@ -61,7 +61,7 @@ class InputImeExtensionEventRouter {
unsigned int next_request_id_;
RequestMap request_map_;
- DISALLOW_COPY_AND_ASSIGN(InputImeExtensionEventRouter);
+ DISALLOW_COPY_AND_ASSIGN(ExtensionInputImeEventRouter);
};
class SetCompositionFunction : public SyncExtensionFunction {
@@ -130,4 +130,4 @@ class InputEventHandled : public AsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ime.eventHandled");
};
-#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_IME_EXTENSION_API_H_
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_

Powered by Google App Engine
This is Rietveld 408576698