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

Side by Side Diff: chrome/browser/chromeos/input_method/browser_state_monitor.h

Issue 14427002: Move InputMethodManager from c/b/chromeos to chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing old header Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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_CHROMEOS_INPUT_METHOD_BROWSER_STATE_MONITOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_BROWSER_STATE_MONITOR_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_BROWSER_STATE_MONITOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_BROWSER_STATE_MONITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/chromeos/input_method/input_method_manager.h" 13 #include "chromeos/ime/input_method_manager.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 namespace input_method { 18 namespace input_method {
19 19
20 // Translates notifications from the browser (not logged in, logged in, etc.), 20 // Translates notifications from the browser (not logged in, logged in, etc.),
21 // into InputMethodManager::State transitions. 21 // into InputMethodManager::State transitions.
22 class BrowserStateMonitor : public content::NotificationObserver { 22 class BrowserStateMonitor : public content::NotificationObserver {
23 public: 23 public:
(...skipping 16 matching lines...) Expand all
40 InputMethodManager::State state_; 40 InputMethodManager::State state_;
41 content::NotificationRegistrar notification_registrar_; 41 content::NotificationRegistrar notification_registrar_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(BrowserStateMonitor); 43 DISALLOW_COPY_AND_ASSIGN(BrowserStateMonitor);
44 }; 44 };
45 45
46 } // namespace input_method 46 } // namespace input_method
47 } // namespace chromeos 47 } // namespace chromeos
48 48
49 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_BROWSER_STATE_MONITOR_H_ 49 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_BROWSER_STATE_MONITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698