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