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_PRERENDER_PRERENDER_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 // content::WebContentsObserver implementation. | 220 // content::WebContentsObserver implementation. |
221 virtual void DidStopLoading( | 221 virtual void DidStopLoading( |
222 content::RenderViewHost* render_view_host) OVERRIDE; | 222 content::RenderViewHost* render_view_host) OVERRIDE; |
223 virtual void DidStartProvisionalLoadForFrame( | 223 virtual void DidStartProvisionalLoadForFrame( |
224 int64 frame_id, | 224 int64 frame_id, |
225 int64 parent_frame_id, | 225 int64 parent_frame_id, |
226 bool is_main_frame, | 226 bool is_main_frame, |
227 const GURL& validated_url, | 227 const GURL& validated_url, |
228 bool is_error_page, | 228 bool is_error_page, |
| 229 bool is_iframe_srcdoc, |
229 content::RenderViewHost* render_view_host) OVERRIDE; | 230 content::RenderViewHost* render_view_host) OVERRIDE; |
230 virtual void DidFinishLoad( | 231 virtual void DidFinishLoad( |
231 int64 frame_id, | 232 int64 frame_id, |
232 const GURL& validated_url, | 233 const GURL& validated_url, |
233 bool is_main_frame, | 234 bool is_main_frame, |
234 content::RenderViewHost* render_view_host) OVERRIDE; | 235 content::RenderViewHost* render_view_host) OVERRIDE; |
235 virtual void DidUpdateFaviconURL(int32 page_id, | 236 virtual void DidUpdateFaviconURL(int32 page_id, |
236 const std::vector<content::FaviconURL>& urls) OVERRIDE; | 237 const std::vector<content::FaviconURL>& urls) OVERRIDE; |
237 | 238 |
238 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 239 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 | 426 |
426 // Caches pages to be added to the history. | 427 // Caches pages to be added to the history. |
427 AddPageVector add_page_vector_; | 428 AddPageVector add_page_vector_; |
428 | 429 |
429 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 430 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
430 }; | 431 }; |
431 | 432 |
432 } // namespace prerender | 433 } // namespace prerender |
433 | 434 |
434 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 435 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |