OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 | 9 |
11 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
12 #include "base/values.h" | 11 #include "base/values.h" |
13 #include "chrome/browser/chromeos/input_method/input_method_engine.h" | 12 #include "chrome/browser/chromeos/input_method/input_method_engine.h" |
14 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
15 | 14 |
16 #include <map> | 15 #include <map> |
17 #include <string> | 16 #include <string> |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 DECLARE_EXTENSION_FUNCTION_NAME("input.ime.eventHandled"); | 162 DECLARE_EXTENSION_FUNCTION_NAME("input.ime.eventHandled"); |
164 | 163 |
165 protected: | 164 protected: |
166 virtual ~InputEventHandled() {} | 165 virtual ~InputEventHandled() {} |
167 | 166 |
168 // ExtensionFunction: | 167 // ExtensionFunction: |
169 virtual bool RunImpl() OVERRIDE; | 168 virtual bool RunImpl() OVERRIDE; |
170 }; | 169 }; |
171 | 170 |
172 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_ | 171 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_IME_API_H_ |
OLD | NEW |