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

Side by Side Diff: chrome/browser/input_method/input_method_engine.h

Issue 1528483002: Add chrome.input.ime.activate and chrome.input.ime.deactivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Devlin's comments. Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
6 #define CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "chrome/browser/input_method/input_method_engine_base.h"
12
13 namespace input_method {
14 class InputMethodEngine : public InputMethodEngineBase {
15 public:
16 InputMethodEngine();
17
18 ~InputMethodEngine() override;
19
20 // ui::IMEEngineHandlerInterface:
21 bool SendKeyEvents(int context_id,
22 const std::vector<KeyboardEvent>& events) override;
23 bool IsActive() const override;
24
Devlin 2016/01/13 18:22:59 nit: no \n
Azure Wei 2016/01/14 14:03:48 Done.
25 std::string GetExtensionId() const override;
26
27 private:
28 // ::input_method::InputMethodEngineBase:
29 bool CheckProfile() const override;
30
31 DISALLOW_COPY_AND_ASSIGN(InputMethodEngine);
32 };
33
34 } // namespace input_method
35
36 #endif // CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698