Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: chrome/browser/prerender/prerender_contents.h

Issue 11090068: When starting a provisional load include the parent frame ID in the IPC and pass it down the th WCO… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updatess Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/load_time_stats.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // |url| and |session_storage_namespace|. 165 // |url| and |session_storage_namespace|.
166 bool Matches( 166 bool Matches(
167 const GURL& url, 167 const GURL& url,
168 const content::SessionStorageNamespace* session_storage_namespace) const; 168 const content::SessionStorageNamespace* session_storage_namespace) const;
169 169
170 // content::WebContentsObserver implementation. 170 // content::WebContentsObserver implementation.
171 virtual void DidStopLoading( 171 virtual void DidStopLoading(
172 content::RenderViewHost* render_view_host) OVERRIDE; 172 content::RenderViewHost* render_view_host) OVERRIDE;
173 virtual void DidStartProvisionalLoadForFrame( 173 virtual void DidStartProvisionalLoadForFrame(
174 int64 frame_id, 174 int64 frame_id,
175 int64 parent_frame_id,
175 bool is_main_frame, 176 bool is_main_frame,
176 const GURL& validated_url, 177 const GURL& validated_url,
177 bool is_error_page, 178 bool is_error_page,
178 content::RenderViewHost* render_view_host) OVERRIDE; 179 content::RenderViewHost* render_view_host) OVERRIDE;
179 virtual void DidFinishLoad( 180 virtual void DidFinishLoad(
180 int64 frame_id, 181 int64 frame_id,
181 const GURL& validated_url, 182 const GURL& validated_url,
182 bool is_main_frame, 183 bool is_main_frame,
183 content::RenderViewHost* render_view_host) OVERRIDE; 184 content::RenderViewHost* render_view_host) OVERRIDE;
184 185
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 397
397 // Caches pages to be added to the history. 398 // Caches pages to be added to the history.
398 AddPageVector add_page_vector_; 399 AddPageVector add_page_vector_;
399 400
400 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 401 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
401 }; 402 };
402 403
403 } // namespace prerender 404 } // namespace prerender
404 405
405 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 406 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/load_time_stats.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698