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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 bool is_iframe_srcdoc, | 224 bool is_iframe_srcdoc, |
225 content::RenderViewHost* render_view_host) OVERRIDE; | 225 content::RenderViewHost* render_view_host) OVERRIDE; |
226 virtual void DidFinishLoad( | 226 virtual void DidFinishLoad( |
227 int64 frame_id, | 227 int64 frame_id, |
228 const GURL& validated_url, | 228 const GURL& validated_url, |
229 bool is_main_frame, | 229 bool is_main_frame, |
230 content::RenderViewHost* render_view_host) OVERRIDE; | 230 content::RenderViewHost* render_view_host) OVERRIDE; |
231 virtual void DidUpdateFaviconURL(int32 page_id, | 231 virtual void DidUpdateFaviconURL(int32 page_id, |
232 const std::vector<content::FaviconURL>& urls) OVERRIDE; | 232 const std::vector<content::FaviconURL>& urls) OVERRIDE; |
233 | 233 |
234 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 234 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
235 | 235 |
236 // content::NotificationObserver | 236 // content::NotificationObserver |
237 virtual void Observe(int type, | 237 virtual void Observe(int type, |
238 const content::NotificationSource& source, | 238 const content::NotificationSource& source, |
239 const content::NotificationDetails& details) OVERRIDE; | 239 const content::NotificationDetails& details) OVERRIDE; |
240 | 240 |
241 // Adds an alias URL, for one of the many redirections. If the URL can not | 241 // Adds an alias URL, for one of the many redirections. If the URL can not |
242 // be prerendered - for example, it's an ftp URL - |this| will be destroyed | 242 // be prerendered - for example, it's an ftp URL - |this| will be destroyed |
243 // and false is returned. Otherwise, true is returned and the alias is | 243 // and false is returned. Otherwise, true is returned and the alias is |
244 // remembered. | 244 // remembered. |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 | 420 |
421 // Caches pages to be added to the history. | 421 // Caches pages to be added to the history. |
422 AddPageVector add_page_vector_; | 422 AddPageVector add_page_vector_; |
423 | 423 |
424 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 424 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
425 }; | 425 }; |
426 | 426 |
427 } // namespace prerender | 427 } // namespace prerender |
428 | 428 |
429 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 429 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |