OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual void DidFailProvisionalLoadWithError( | 46 virtual void DidFailProvisionalLoadWithError( |
47 RenderViewHost* render_view_host, | 47 RenderViewHost* render_view_host, |
48 bool is_main_frame, | 48 bool is_main_frame, |
49 int error_code, | 49 int error_code, |
50 const GURL& url, | 50 const GURL& url, |
51 bool showing_repost_interstitial); | 51 bool showing_repost_interstitial); |
52 | 52 |
53 virtual void DidDisplayInsecureContent(); | 53 virtual void DidDisplayInsecureContent(); |
54 virtual void DidRunInsecureContent(const std::string& security_origin); | 54 virtual void DidRunInsecureContent(const std::string& security_origin); |
55 virtual void DocumentLoadedInFrame(long long frame_id); | 55 virtual void DocumentLoadedInFrame(long long frame_id); |
| 56 virtual void DidFinishLoad(long long frame_id); |
56 virtual void OnContentBlocked(ContentSettingsType type); | 57 virtual void OnContentBlocked(ContentSettingsType type); |
57 | 58 |
58 private: | 59 private: |
59 WebPageDelegate* page_delegate_; | 60 WebPageDelegate* page_delegate_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(WizardWebPageViewTabContents); | 62 DISALLOW_COPY_AND_ASSIGN(WizardWebPageViewTabContents); |
62 }; | 63 }; |
63 | 64 |
64 // WebPageDomView is the view that is rendering the page. | 65 // WebPageDomView is the view that is rendering the page. |
65 class WebPageDomView : public DOMView { | 66 class WebPageDomView : public DOMView { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 135 |
135 // Timer used before toggling loaded page visibility. | 136 // Timer used before toggling loaded page visibility. |
136 base::OneShotTimer<WebPageView> stop_timer_; | 137 base::OneShotTimer<WebPageView> stop_timer_; |
137 | 138 |
138 DISALLOW_COPY_AND_ASSIGN(WebPageView); | 139 DISALLOW_COPY_AND_ASSIGN(WebPageView); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace chromeos | 142 } // namespace chromeos |
142 | 143 |
143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_VIEW_H_ | 144 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_VIEW_H_ |
OLD | NEW |