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_HTML_PAGE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 // Overrides WebPageScreen: | 47 // Overrides WebPageScreen: |
48 virtual void OnNetworkTimeout() OVERRIDE; | 48 virtual void OnNetworkTimeout() OVERRIDE; |
49 | 49 |
50 private: | 50 private: |
51 // ViewScreen implementation: | 51 // ViewScreen implementation: |
52 virtual void CreateView() OVERRIDE; | 52 virtual void CreateView() OVERRIDE; |
53 virtual void Refresh() OVERRIDE; | 53 virtual void Refresh() OVERRIDE; |
54 virtual HTMLPageView* AllocateView() OVERRIDE; | 54 virtual HTMLPageView* AllocateView() OVERRIDE; |
55 | 55 |
56 virtual void HandleKeyboardEvent( | 56 virtual void HandleKeyboardEvent( |
| 57 content::WebContents* source, |
57 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 58 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
58 | 59 |
59 // WebPageScreen implementation: | 60 // WebPageScreen implementation: |
60 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; | 61 virtual void CloseScreen(ScreenObserver::ExitCodes code) OVERRIDE; |
61 | 62 |
62 // URL to navigate. | 63 // URL to navigate. |
63 std::string url_; | 64 std::string url_; |
64 | 65 |
65 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; | 66 UnhandledKeyboardEventHandler unhandled_keyboard_handler_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); | 68 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace chromeos | 71 } // namespace chromeos |
71 | 72 |
72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ |
OLD | NEW |