| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // Overridden from views::View: | 80 // Overridden from views::View: |
| 81 virtual void Layout() OVERRIDE; | 81 virtual void Layout() OVERRIDE; |
| 82 virtual void OnLocaleChanged() OVERRIDE; | 82 virtual void OnLocaleChanged() OVERRIDE; |
| 83 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; | 83 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; |
| 84 | 84 |
| 85 // Overridden from StatusAreaButton::Delegate: | 85 // Overridden from StatusAreaButton::Delegate: |
| 86 virtual bool ShouldExecuteStatusAreaCommand( | 86 virtual bool ShouldExecuteStatusAreaCommand( |
| 87 const views::View* button_view, int command_id) const OVERRIDE; | 87 const views::View* button_view, int command_id) const OVERRIDE; |
| 88 virtual void ExecuteStatusAreaCommand( | 88 virtual void ExecuteStatusAreaCommand( |
| 89 const views::View* button_view, int command_id) OVERRIDE; | 89 const views::View* button_view, int command_id) OVERRIDE; |
| 90 virtual gfx::Font GetStatusAreaFont(const gfx::Font& font) const OVERRIDE; | |
| 91 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; | 90 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; |
| 92 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; | 91 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; |
| 93 | 92 |
| 94 // TabFirstRenderWatcher::Delegate implementation. | 93 // TabFirstRenderWatcher::Delegate implementation. |
| 95 virtual void OnRenderHostCreated(RenderViewHost* host) OVERRIDE; | 94 virtual void OnRenderHostCreated(RenderViewHost* host) OVERRIDE; |
| 96 virtual void OnTabMainFrameLoaded() OVERRIDE; | 95 virtual void OnTabMainFrameLoaded() OVERRIDE; |
| 97 virtual void OnTabMainFrameFirstRender() OVERRIDE; | 96 virtual void OnTabMainFrameFirstRender() OVERRIDE; |
| 98 | 97 |
| 99 // Creates and adds the status area (separate window). | 98 // Creates and adds the status area (separate window). |
| 100 virtual void InitStatusArea(); | 99 virtual void InitStatusArea(); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 150 |
| 152 // Caches StatusArea visibility setting before it has been initialized. | 151 // Caches StatusArea visibility setting before it has been initialized. |
| 153 bool status_area_visibility_on_init_; | 152 bool status_area_visibility_on_init_; |
| 154 | 153 |
| 155 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 154 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 156 }; | 155 }; |
| 157 | 156 |
| 158 } // namespace chromeos | 157 } // namespace chromeos |
| 159 | 158 |
| 160 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 159 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |