| 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_UI_WEBUI_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 WebUILoginView(); | 50 WebUILoginView(); |
| 51 virtual ~WebUILoginView(); | 51 virtual ~WebUILoginView(); |
| 52 | 52 |
| 53 // Initializes the webui login view. | 53 // Initializes the webui login view. |
| 54 virtual void Init(); | 54 virtual void Init(); |
| 55 | 55 |
| 56 // Overridden from views::View: | 56 // Overridden from views::View: |
| 57 virtual bool AcceleratorPressed( | 57 virtual bool AcceleratorPressed( |
| 58 const ui::Accelerator& accelerator) OVERRIDE; | 58 const ui::Accelerator& accelerator) OVERRIDE; |
| 59 virtual const char* GetClassName() const OVERRIDE; | 59 virtual const char* GetClassName() const OVERRIDE; |
| 60 virtual void RequestFocus() OVERRIDE; |
| 60 | 61 |
| 61 // Overridden from ChromeWebModalDialogManagerDelegate: | 62 // Overridden from ChromeWebModalDialogManagerDelegate: |
| 62 virtual web_modal::WebContentsModalDialogHost* | 63 virtual web_modal::WebContentsModalDialogHost* |
| 63 GetWebContentsModalDialogHost() OVERRIDE; | 64 GetWebContentsModalDialogHost() OVERRIDE; |
| 64 | 65 |
| 65 // Overridden from web_modal::WebContentsModalDialogHost: | 66 // Overridden from web_modal::WebContentsModalDialogHost: |
| 66 virtual gfx::NativeView GetHostView() const OVERRIDE; | 67 virtual gfx::NativeView GetHostView() const OVERRIDE; |
| 67 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; | 68 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; |
| 68 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; | 69 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; |
| 69 virtual void AddObserver( | 70 virtual void AddObserver( |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; | 185 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; |
| 185 | 186 |
| 186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 187 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 187 | 188 |
| 188 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 189 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 } // namespace chromeos | 192 } // namespace chromeos |
| 192 | 193 |
| 193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 194 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |