OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_ASH_LAUNCHER_BROWSER_STATUS_MONITOR_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_STATUS_MONITOR_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_STATUS_MONITOR_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_STATUS_MONITOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 // A shortcut to call the ChromeLauncherController's UpdateAppState(). | 50 // A shortcut to call the ChromeLauncherController's UpdateAppState(). |
51 void UpdateAppItemState(content::WebContents* contents, | 51 void UpdateAppItemState(content::WebContents* contents, |
52 ChromeLauncherController::AppState app_state); | 52 ChromeLauncherController::AppState app_state); |
53 | 53 |
54 // A shortcut to call the BrowserShortcutLauncherItemController's | 54 // A shortcut to call the BrowserShortcutLauncherItemController's |
55 // UpdateBrowserItemState(). | 55 // UpdateBrowserItemState(). |
56 void UpdateBrowserItemState(); | 56 void UpdateBrowserItemState(); |
57 | 57 |
58 // aura::client::ActivationChangeObserver overrides: | 58 // aura::client::ActivationChangeObserver overrides: |
59 void OnWindowActivated(aura::Window* gained_active, | 59 void OnWindowActivated( |
60 aura::Window* lost_active) override; | 60 aura::client::ActivationChangeObserver::ActivationReason reason, |
| 61 aura::Window* gained_active, |
| 62 aura::Window* lost_active) override; |
61 | 63 |
62 // aura::WindowObserver overrides: | 64 // aura::WindowObserver overrides: |
63 void OnWindowDestroyed(aura::Window* window) override; | 65 void OnWindowDestroyed(aura::Window* window) override; |
64 | 66 |
65 // chrome::BrowserListObserver overrides: | 67 // chrome::BrowserListObserver overrides: |
66 void OnBrowserAdded(Browser* browser) override; | 68 void OnBrowserAdded(Browser* browser) override; |
67 void OnBrowserRemoved(Browser* browser) override; | 69 void OnBrowserRemoved(Browser* browser) override; |
68 | 70 |
69 // gfx::DisplayObserver overrides: | 71 // gfx::DisplayObserver overrides: |
70 void OnDisplayAdded(const gfx::Display& new_display) override; | 72 void OnDisplayAdded(const gfx::Display& new_display) override; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 ScopedObserver<aura::Window, aura::WindowObserver> observed_root_windows_; | 138 ScopedObserver<aura::Window, aura::WindowObserver> observed_root_windows_; |
137 | 139 |
138 BrowserToAppIDMap browser_to_app_id_map_; | 140 BrowserToAppIDMap browser_to_app_id_map_; |
139 WebContentsToObserverMap webcontents_to_observer_map_; | 141 WebContentsToObserverMap webcontents_to_observer_map_; |
140 scoped_ptr<SettingsWindowObserver> settings_window_observer_; | 142 scoped_ptr<SettingsWindowObserver> settings_window_observer_; |
141 | 143 |
142 DISALLOW_COPY_AND_ASSIGN(BrowserStatusMonitor); | 144 DISALLOW_COPY_AND_ASSIGN(BrowserStatusMonitor); |
143 }; | 145 }; |
144 | 146 |
145 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_STATUS_MONITOR_H_ | 147 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_STATUS_MONITOR_H_ |
OLD | NEW |