| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBUI_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 // Overridden from StatusAreaButton::Delegate: | 88 // Overridden from StatusAreaButton::Delegate: |
| 89 virtual bool ShouldExecuteStatusAreaCommand( | 89 virtual bool ShouldExecuteStatusAreaCommand( |
| 90 const views::View* button_view, int command_id) const OVERRIDE; | 90 const views::View* button_view, int command_id) const OVERRIDE; |
| 91 virtual void ExecuteStatusAreaCommand( | 91 virtual void ExecuteStatusAreaCommand( |
| 92 const views::View* button_view, int command_id) OVERRIDE; | 92 const views::View* button_view, int command_id) OVERRIDE; |
| 93 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; | 93 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; |
| 94 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; | 94 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; |
| 95 | 95 |
| 96 // TabRenderWatcher::Delegate implementation. | 96 // TabRenderWatcher::Delegate implementation. |
| 97 virtual void OnRenderHostCreated(RenderViewHost* host) OVERRIDE; | 97 virtual void OnRenderHostCreated(content::RenderViewHost* host) OVERRIDE; |
| 98 virtual void OnTabMainFrameLoaded() OVERRIDE; | 98 virtual void OnTabMainFrameLoaded() OVERRIDE; |
| 99 virtual void OnTabMainFrameRender() OVERRIDE; | 99 virtual void OnTabMainFrameRender() OVERRIDE; |
| 100 | 100 |
| 101 // Creates and adds the status area (separate window). | 101 // Creates and adds the status area (separate window). |
| 102 virtual void InitStatusArea(); | 102 virtual void InitStatusArea(); |
| 103 | 103 |
| 104 // Returns the screen mode to set on the status area view. | 104 // Returns the screen mode to set on the status area view. |
| 105 virtual StatusAreaViewChromeos::ScreenMode GetScreenMode(); | 105 virtual StatusAreaViewChromeos::ScreenMode GetScreenMode(); |
| 106 | 106 |
| 107 // Returns the type to use for the status area widget. | 107 // Returns the type to use for the status area widget. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 154 |
| 155 // Caches StatusArea visibility setting before it has been initialized. | 155 // Caches StatusArea visibility setting before it has been initialized. |
| 156 bool status_area_visibility_on_init_; | 156 bool status_area_visibility_on_init_; |
| 157 | 157 |
| 158 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 158 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 } // namespace chromeos | 161 } // namespace chromeos |
| 162 | 162 |
| 163 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 163 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |