Index: chrome/browser/chromeos/login/ui/lock_window.h |
diff --git a/chrome/browser/chromeos/login/ui/lock_window.h b/chrome/browser/chromeos/login/ui/lock_window.h |
index 9fbc0fea696927c4451cb05dc11c5a4a2f2a794d..ef58686f2ba54cf1ca1870805a419f3e5a78171e 100644 |
--- a/chrome/browser/chromeos/login/ui/lock_window.h |
+++ b/chrome/browser/chromeos/login/ui/lock_window.h |
@@ -19,41 +19,19 @@ namespace chromeos { |
// Shows the widget for the WebUI screen locker. |
class LockWindow : public views::Widget, public views::WidgetDelegate { |
public: |
- // This class provides an interface for the lock window to notify an observer |
- // about its status. |
- class Observer { |
- public: |
- // This method will be called when the lock window has finished all |
- // initialization. |
- virtual void OnLockWindowReady() = 0; |
- }; |
- |
LockWindow(); |
~LockWindow() override; |
- // Attempt to grab inputs on the webview, the actual view displaying the lock |
- // screen WebView. |
- void Grab(); |
- |
- // Sets the observer class which is notified on lock window events. |
- void set_observer(Observer* observer) { observer_ = observer; } |
- |
// Sets the view which should be initially focused. |
void set_initially_focused_view(views::View* view) { |
initially_focused_view_ = view; |
} |
- // views::WidgetDelegate: |
- views::Widget* GetWidget() override; |
- const views::Widget* GetWidget() const override; |
- |
private: |
// views::WidgetDelegate: |
views::View* GetInitiallyFocusedView() override; |
- |
- // The observer's OnLockWindowReady method will be called when the lock |
- // window has finished all initialization. |
- Observer* observer_ = nullptr; |
+ views::Widget* GetWidget() override; |
+ const views::Widget* GetWidget() const override; |
// The view which should be initially focused. |
views::View* initially_focused_view_ = nullptr; |