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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 views::WebView* webui_login_; | 99 views::WebView* webui_login_; |
100 | 100 |
101 private: | 101 private: |
102 // Map type for the accelerator-to-identifier map. | 102 // Map type for the accelerator-to-identifier map. |
103 typedef std::map<ui::Accelerator, std::string> AccelMap; | 103 typedef std::map<ui::Accelerator, std::string> AccelMap; |
104 | 104 |
105 // Overridden from content::WebContentsDelegate. | 105 // Overridden from content::WebContentsDelegate. |
106 virtual bool HandleContextMenu( | 106 virtual bool HandleContextMenu( |
107 const content::ContextMenuParams& params) OVERRIDE; | 107 const content::ContextMenuParams& params) OVERRIDE; |
108 virtual void HandleKeyboardEvent( | 108 virtual void HandleKeyboardEvent( |
109 const NativeWebKeyboardEvent& event) OVERRIDE; | 109 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
110 virtual bool IsPopupOrPanel( | 110 virtual bool IsPopupOrPanel( |
111 const content::WebContents* source) const OVERRIDE; | 111 const content::WebContents* source) const OVERRIDE; |
112 virtual bool TakeFocus(bool reverse) OVERRIDE; | 112 virtual bool TakeFocus(bool reverse) OVERRIDE; |
113 | 113 |
114 // Called when focus is returned from status area. | 114 // Called when focus is returned from status area. |
115 // |reverse| is true when focus is traversed backwards (using Shift-Tab). | 115 // |reverse| is true when focus is traversed backwards (using Shift-Tab). |
116 void ReturnFocus(bool reverse); | 116 void ReturnFocus(bool reverse); |
117 | 117 |
118 content::NotificationRegistrar registrar_; | 118 content::NotificationRegistrar registrar_; |
119 | 119 |
(...skipping 25 matching lines...) Expand all Loading... |
145 // Should we emit the login-prompt-visible signal when the login page is | 145 // Should we emit the login-prompt-visible signal when the login page is |
146 // displayed? | 146 // displayed? |
147 bool should_emit_login_prompt_visible_; | 147 bool should_emit_login_prompt_visible_; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 149 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace chromeos | 152 } // namespace chromeos |
153 | 153 |
154 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 154 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |