Chromium Code Reviews| Index: chrome/browser/chromeos/login/lock/webui_screen_locker.h |
| diff --git a/chrome/browser/chromeos/login/lock/webui_screen_locker.h b/chrome/browser/chromeos/login/lock/webui_screen_locker.h |
| index 95b30655e343e9971e9728e4a762eab00eda8984..c1f7b4c43af5813b7871b4ee2f382c7903f2a76c 100644 |
| --- a/chrome/browser/chromeos/login/lock/webui_screen_locker.h |
| +++ b/chrome/browser/chromeos/login/lock/webui_screen_locker.h |
| @@ -20,6 +20,7 @@ |
| #include "chrome/browser/chromeos/login/ui/login_display.h" |
| #include "chrome/browser/chromeos/login/ui/webui_login_view.h" |
| #include "chromeos/dbus/power_manager_client.h" |
| +#include "ui/gfx/display_observer.h" |
| #include "ui/keyboard/keyboard_controller_observer.h" |
| #include "ui/views/widget/widget.h" |
| #include "ui/views/widget/widget_observer.h" |
| @@ -52,7 +53,8 @@ class WebUIScreenLocker : public WebUILoginView, |
| public views::WidgetObserver, |
| public PowerManagerClient::Observer, |
| public ash::VirtualKeyboardStateObserver, |
| - public keyboard::KeyboardControllerObserver { |
| + public keyboard::KeyboardControllerObserver, |
| + public gfx::DisplayObserver { |
| public: |
| explicit WebUIScreenLocker(ScreenLocker* screen_locker); |
| @@ -112,6 +114,12 @@ class WebUIScreenLocker : public WebUILoginView, |
| // Overridden from keyboard::KeyboardControllerObserver: |
| void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
| + // Overridden from gfx::DisplayObserver: |
|
oshima
2015/01/29 15:29:06
nit: can you update these comments to new style?
Dmitry Polukhin
2015/01/29 15:39:17
Sorry, what do you mean by "new style"? I don't se
oshima
2015/01/29 16:16:09
// ClassName:
like
// gfx::DisplayObserver:
no
Dmitry Polukhin
2015/01/30 13:08:08
Done.
|
| + void OnDisplayAdded(const gfx::Display& new_display) override; |
| + void OnDisplayRemoved(const gfx::Display& old_display) override; |
| + void OnDisplayMetricsChanged(const gfx::Display& display, |
| + uint32_t changed_metrics) override; |
| + |
| // Returns instance of the OOBE WebUI. |
| OobeUI* GetOobeUI(); |