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

Side by Side Diff: chrome/browser/chromeos/extensions/ime_menu_event_router.h

Issue 1552743003: Add chrome.inputMethodPrivate.onImeMenuActivationChanged API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_CHROMEOS_EXTENSIONS_IME_MENU_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_IME_MENU_EVENT_ROUTER_H_
7
8 #include "base/macros.h"
9 #include "ui/base/ime/chromeos/input_method_manager.h"
10
11 namespace content {
12 class BrowserContext;
13 }
14
15 namespace chromeos {
16
17 // Event router class for the IME Menu activated/deactivate events.
Devlin 2016/01/13 18:11:27 Can you document the lifetime of this object, sinc
Azure Wei 2016/01/14 09:38:26 Done.
18 class ExtensionImeMenuEventRouter
19 : public input_method::InputMethodManager::ImeMenuObserver {
20 public:
21 explicit ExtensionImeMenuEventRouter(content::BrowserContext* context);
22 ~ExtensionImeMenuEventRouter() override;
23
24 // input_method::InputMethodManager::ImeMenuObserver:
25 void ImeMenuActivationChanged(bool activation) override;
26
27 private:
28 content::BrowserContext* context_;
29
30 DISALLOW_COPY_AND_ASSIGN(ExtensionImeMenuEventRouter);
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_IME_MENU_EVENT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698