OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_WEBUI_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 const content::NotificationDetails& details) override; | 136 const content::NotificationDetails& details) override; |
137 | 137 |
138 views::WebView* web_view(); | 138 views::WebView* web_view(); |
139 | 139 |
140 private: | 140 private: |
141 // Map type for the accelerator-to-identifier map. | 141 // Map type for the accelerator-to-identifier map. |
142 typedef std::map<ui::Accelerator, std::string> AccelMap; | 142 typedef std::map<ui::Accelerator, std::string> AccelMap; |
143 | 143 |
144 // ash::ShellObserver: | 144 // ash::ShellObserver: |
145 void OnVirtualKeyboardStateChanged(bool activated, | 145 void OnVirtualKeyboardStateChanged(bool activated, |
146 ash::WmWindow* root_window) override; | 146 aura::Window* root_window) override; |
147 | 147 |
148 // keyboard::KeyboardControllerObserver: | 148 // keyboard::KeyboardControllerObserver: |
149 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 149 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
150 void OnKeyboardClosed() override; | 150 void OnKeyboardClosed() override; |
151 | 151 |
152 // Overridden from content::WebContentsDelegate. | 152 // Overridden from content::WebContentsDelegate. |
153 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 153 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
154 void HandleKeyboardEvent( | 154 void HandleKeyboardEvent( |
155 content::WebContents* source, | 155 content::WebContents* source, |
156 const content::NativeWebKeyboardEvent& event) override; | 156 const content::NativeWebKeyboardEvent& event) override; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 bool forward_keyboard_event_ = true; | 206 bool forward_keyboard_event_ = true; |
207 | 207 |
208 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 208 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
209 | 209 |
210 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 210 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
211 }; | 211 }; |
212 | 212 |
213 } // namespace chromeos | 213 } // namespace chromeos |
214 | 214 |
215 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 215 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |