OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // WidgetObserver: | 107 // WidgetObserver: |
108 void OnWidgetDestroying(views::Widget* widget) override; | 108 void OnWidgetDestroying(views::Widget* widget) override; |
109 | 109 |
110 // PowerManagerClient::Observer: | 110 // PowerManagerClient::Observer: |
111 void SuspendImminent() override; | 111 void SuspendImminent() override; |
112 void SuspendDone(const base::TimeDelta& sleep_duration) override; | 112 void SuspendDone(const base::TimeDelta& sleep_duration) override; |
113 void LidEventReceived(bool open, const base::TimeTicks& time) override; | 113 void LidEventReceived(bool open, const base::TimeTicks& time) override; |
114 | 114 |
115 // content::WebContentsObserver: | 115 // content::WebContentsObserver: |
116 void RenderProcessGone(base::TerminationStatus status) override; | 116 void RenderProcessGone(base::TerminationStatus status) override; |
117 // TODO(jdufault): Remove PluginCrashed, PluginHungStatusChanged, | |
118 // WebContentsDestroyed overrides once crbug.com/452599 is resolved. | |
119 void PluginCrashed(const base::FilePath& plugin_path, | |
120 base::ProcessId plugin_pid) override; | |
121 void PluginHungStatusChanged(int plugin_child_id, | |
122 const base::FilePath& plugin_path, | |
123 bool is_hung) override; | |
124 void WebContentsDestroyed() override; | |
125 | 117 |
126 // ash::KeyboardStateObserver: | 118 // ash::KeyboardStateObserver: |
127 void OnVirtualKeyboardStateChanged(bool activated) override; | 119 void OnVirtualKeyboardStateChanged(bool activated) override; |
128 | 120 |
129 // keyboard::KeyboardControllerObserver: | 121 // keyboard::KeyboardControllerObserver: |
130 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 122 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
131 | 123 |
132 // display::DisplayObserver: | 124 // display::DisplayObserver: |
133 void OnDisplayAdded(const display::Display& new_display) override; | 125 void OnDisplayAdded(const display::Display& new_display) override; |
134 void OnDisplayRemoved(const display::Display& old_display) override; | 126 void OnDisplayRemoved(const display::Display& old_display) override; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 bool is_observing_keyboard_ = false; | 165 bool is_observing_keyboard_ = false; |
174 | 166 |
175 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; | 167 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; |
176 | 168 |
177 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 169 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
178 }; | 170 }; |
179 | 171 |
180 } // namespace chromeos | 172 } // namespace chromeos |
181 | 173 |
182 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 174 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
OLD | NEW |