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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 const content::SessionStorageNamespace* session_storage_namespace) const; | 163 const content::SessionStorageNamespace* session_storage_namespace) const; |
164 | 164 |
165 // content::WebContentsObserver implementation. | 165 // content::WebContentsObserver implementation. |
166 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; | 166 void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; |
167 void DidStopLoading() override; | 167 void DidStopLoading() override; |
168 void DocumentLoadedInFrame( | 168 void DocumentLoadedInFrame( |
169 content::RenderFrameHost* render_frame_host) override; | 169 content::RenderFrameHost* render_frame_host) override; |
170 void DidStartProvisionalLoadForFrame( | 170 void DidStartProvisionalLoadForFrame( |
171 content::RenderFrameHost* render_frame_host, | 171 content::RenderFrameHost* render_frame_host, |
172 const GURL& validated_url, | 172 const GURL& validated_url, |
173 bool is_error_page) override; | 173 bool is_error_page, |
| 174 bool is_iframe_srcdoc) override; |
174 void DidFinishLoad(content::RenderFrameHost* render_frame_host, | 175 void DidFinishLoad(content::RenderFrameHost* render_frame_host, |
175 const GURL& validated_url) override; | 176 const GURL& validated_url) override; |
176 void DidNavigateMainFrame( | 177 void DidNavigateMainFrame( |
177 const content::LoadCommittedDetails& details, | 178 const content::LoadCommittedDetails& details, |
178 const content::FrameNavigateParams& params) override; | 179 const content::FrameNavigateParams& params) override; |
179 void DidGetRedirectForResourceRequest( | 180 void DidGetRedirectForResourceRequest( |
180 const content::ResourceRedirectDetails& details) override; | 181 const content::ResourceRedirectDetails& details) override; |
181 bool OnMessageReceived(const IPC::Message& message) override; | 182 bool OnMessageReceived(const IPC::Message& message) override; |
182 | 183 |
183 void RenderProcessGone(base::TerminationStatus status) override; | 184 void RenderProcessGone(base::TerminationStatus status) override; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // A running tally of the number of bytes this prerender has caused to be | 366 // A running tally of the number of bytes this prerender has caused to be |
366 // transferred over the network for resources. Updated with AddNetworkBytes. | 367 // transferred over the network for resources. Updated with AddNetworkBytes. |
367 int64_t network_bytes_; | 368 int64_t network_bytes_; |
368 | 369 |
369 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 370 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
370 }; | 371 }; |
371 | 372 |
372 } // namespace prerender | 373 } // namespace prerender |
373 | 374 |
374 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 375 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |