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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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
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"
(...skipping 15 matching lines...) Expand all
26 // ui_session_ is STATE_LOGIN_SCREEN. |observer| may be null. 26 // ui_session_ is STATE_LOGIN_SCREEN. |observer| may be null.
27 explicit BrowserStateMonitor( 27 explicit BrowserStateMonitor(
28 const base::Callback<void(InputMethodManager::UISessionState)>& observer); 28 const base::Callback<void(InputMethodManager::UISessionState)>& observer);
29 virtual ~BrowserStateMonitor(); 29 virtual ~BrowserStateMonitor();
30 30
31 InputMethodManager::UISessionState ui_session() const { return ui_session_; } 31 InputMethodManager::UISessionState ui_session() const { return ui_session_; }
32 32
33 // content::NotificationObserver overrides: 33 // content::NotificationObserver overrides:
34 virtual void Observe(int type, 34 virtual void Observe(int type,
35 const content::NotificationSource& source, 35 const content::NotificationSource& source,
36 const content::NotificationDetails& details) OVERRIDE; 36 const content::NotificationDetails& details) override;
37 37
38 private: 38 private:
39 base::Callback<void(InputMethodManager::UISessionState)> observer_; 39 base::Callback<void(InputMethodManager::UISessionState)> observer_;
40 InputMethodManager::UISessionState ui_session_; 40 InputMethodManager::UISessionState ui_session_;
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