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_WEB_PAGE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_SCREEN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/timer.h" | 9 #include "base/timer.h" |
10 #include "chrome/browser/chromeos/login/screen_observer.h" | 10 #include "chrome/browser/chromeos/login/screen_observer.h" |
11 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 11 #include "content/browser/tab_contents/tab_contents_delegate.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 // Base class for wizard screen that holds web page. | 17 // Base class for wizard screen that holds web page. |
18 class WebPageScreen : public TabContentsDelegate { | 18 class WebPageScreen : public TabContentsDelegate { |
19 public: | 19 public: |
20 explicit WebPageScreen() {} | 20 explicit WebPageScreen() {} |
21 virtual ~WebPageScreen() {} | 21 virtual ~WebPageScreen() {} |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 private: | 61 private: |
62 // Timer used for network response timeout. | 62 // Timer used for network response timeout. |
63 base::OneShotTimer<WebPageScreen> timeout_timer_; | 63 base::OneShotTimer<WebPageScreen> timeout_timer_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(WebPageScreen); | 65 DISALLOW_COPY_AND_ASSIGN(WebPageScreen); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace chromeos | 68 } // namespace chromeos |
69 | 69 |
70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_SCREEN_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_SCREEN_H_ |
OLD | NEW |