| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/login/login_html_dialog.h" | 9 #include "chrome/browser/chromeos/login/login_html_dialog.h" |
| 10 #include "chrome/browser/chromeos/status/status_area_host.h" | 10 #include "chrome/browser/chromeos/status/status_area_host.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // TabFirstRenderWatcher::Delegate implementation. | 93 // TabFirstRenderWatcher::Delegate implementation. |
| 94 virtual void OnRenderHostCreated(RenderViewHost* host) OVERRIDE; | 94 virtual void OnRenderHostCreated(RenderViewHost* host) OVERRIDE; |
| 95 virtual void OnTabMainFrameLoaded() OVERRIDE; | 95 virtual void OnTabMainFrameLoaded() OVERRIDE; |
| 96 virtual void OnTabMainFrameFirstRender() OVERRIDE; | 96 virtual void OnTabMainFrameFirstRender() OVERRIDE; |
| 97 | 97 |
| 98 // Creates and adds the status area (separate window). | 98 // Creates and adds the status area (separate window). |
| 99 virtual void InitStatusArea(); | 99 virtual void InitStatusArea(); |
| 100 | 100 |
| 101 StatusAreaView* status_area_; | 101 StatusAreaView* status_area_; |
| 102 | 102 |
| 103 Profile* profile_; | |
| 104 | |
| 105 // DOMView for rendering a webpage as a webui login. | 103 // DOMView for rendering a webpage as a webui login. |
| 106 DOMView* webui_login_; | 104 DOMView* webui_login_; |
| 107 | 105 |
| 108 private: | 106 private: |
| 109 // Map type for the accelerator-to-identifier map. | 107 // Map type for the accelerator-to-identifier map. |
| 110 typedef std::map<views::Accelerator, std::string> AccelMap; | 108 typedef std::map<views::Accelerator, std::string> AccelMap; |
| 111 | 109 |
| 112 // Overridden from TabContentsDelegate. | 110 // Overridden from TabContentsDelegate. |
| 113 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; | 111 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; |
| 114 virtual void HandleKeyboardEvent( | 112 virtual void HandleKeyboardEvent( |
| (...skipping 23 matching lines...) Expand all Loading... |
| 138 | 136 |
| 139 // Caches StatusArea visibility setting before it has been initialized. | 137 // Caches StatusArea visibility setting before it has been initialized. |
| 140 bool status_area_visibility_on_init_; | 138 bool status_area_visibility_on_init_; |
| 141 | 139 |
| 142 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 140 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 143 }; | 141 }; |
| 144 | 142 |
| 145 } // namespace chromeos | 143 } // namespace chromeos |
| 146 | 144 |
| 147 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |