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_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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 protected: | 61 protected: |
62 // Overrides WebPageScreen: | 62 // Overrides WebPageScreen: |
63 virtual void OnNetworkTimeout(); | 63 virtual void OnNetworkTimeout(); |
64 | 64 |
65 private: | 65 private: |
66 // ViewScreen implementation: | 66 // ViewScreen implementation: |
67 virtual void CreateView(); | 67 virtual void CreateView(); |
68 virtual void Refresh(); | 68 virtual void Refresh(); |
69 virtual HTMLPageView* AllocateView(); | 69 virtual HTMLPageView* AllocateView(); |
70 | 70 |
71 virtual void LoadingStateChanged(TabContents* source); | |
72 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 71 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
73 | 72 |
74 // WebPageScreen implementation: | 73 // WebPageScreen implementation: |
75 virtual void CloseScreen(ScreenObserver::ExitCodes code); | 74 virtual void CloseScreen(ScreenObserver::ExitCodes code); |
76 | 75 |
77 // URL to navigate. | 76 // URL to navigate. |
78 std::string url_; | 77 std::string url_; |
79 | 78 |
80 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); | 79 DISALLOW_COPY_AND_ASSIGN(HTMLPageScreen); |
81 }; | 80 }; |
82 | 81 |
83 } // namespace chromeos | 82 } // namespace chromeos |
84 | 83 |
85 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ | 84 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HTML_PAGE_SCREEN_H_ |
OLD | NEW |