| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 StatusAreaView* status_area_; | 92 StatusAreaView* status_area_; |
| 93 | 93 |
| 94 Profile* profile_; | 94 Profile* profile_; |
| 95 | 95 |
| 96 // DOMView for rendering a webpage as a webui login. | 96 // DOMView for rendering a webpage as a webui login. |
| 97 DOMView* webui_login_; | 97 DOMView* webui_login_; |
| 98 | 98 |
| 99 private: | 99 private: |
| 100 // Overridden from TabContentsDelegate. | 100 // Overridden from TabContentsDelegate. |
| 101 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; | 101 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; |
| 102 virtual bool TakeFocus(bool reverse) OVERRIDE; |
| 102 | 103 |
| 103 // Window that contains status area. | 104 // Window that contains status area. |
| 104 // TODO(nkostylev): Temporary solution till we have | 105 // TODO(nkostylev): Temporary solution till we have |
| 105 // RenderWidgetHostViewViews working. | 106 // RenderWidgetHostViewViews working. |
| 106 views::Widget* status_window_; | 107 views::Widget* status_window_; |
| 107 | 108 |
| 108 views::Accelerator accel_toggle_accessibility_; | 109 views::Accelerator accel_toggle_accessibility_; |
| 109 | 110 |
| 110 // Proxy settings dialog that can be invoked from network menu. | 111 // Proxy settings dialog that can be invoked from network menu. |
| 111 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_; | 112 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_; |
| 112 | 113 |
| 113 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 114 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 } // namespace chromeos | 117 } // namespace chromeos |
| 117 | 118 |
| 118 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |