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

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

Issue 129813006: Move DidReceiveServerRedirectForProvisionalLoad from RenderView to RenderFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix layout test failures. Created 6 years, 11 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
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_MANAGER_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 433
434 void set_swap_successful(bool swap_successful) { 434 void set_swap_successful(bool swap_successful) {
435 swap_successful_ = swap_successful; 435 swap_successful_ = swap_successful;
436 } 436 }
437 437
438 void BeginSwap(); 438 void BeginSwap();
439 439
440 // content::WebContentsObserver implementation. 440 // content::WebContentsObserver implementation.
441 virtual void ProvisionalChangeToMainFrameUrl( 441 virtual void ProvisionalChangeToMainFrameUrl(
442 const GURL& url, 442 const GURL& url,
443 content::RenderViewHost* render_view_host) OVERRIDE; 443 content::RenderFrameHost* render_frame_host) OVERRIDE;
444 virtual void DidCommitProvisionalLoadForFrame( 444 virtual void DidCommitProvisionalLoadForFrame(
445 int64 frame_id, 445 int64 frame_id,
446 const base::string16& frame_unique_name, 446 const base::string16& frame_unique_name,
447 bool is_main_frame, 447 bool is_main_frame,
448 const GURL& validated_url, 448 const GURL& validated_url,
449 content::PageTransition transition_type, 449 content::PageTransition transition_type,
450 content::RenderViewHost* render_view_host) OVERRIDE; 450 content::RenderViewHost* render_view_host) OVERRIDE;
451 virtual void RenderViewCreated( 451 virtual void RenderViewCreated(
452 content::RenderViewHost* render_view_host) OVERRIDE; 452 content::RenderViewHost* render_view_host) OVERRIDE;
453 virtual void DidFailProvisionalLoad( 453 virtual void DidFailProvisionalLoad(
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 751
752 DISALLOW_COPY_AND_ASSIGN(PrerenderManager); 752 DISALLOW_COPY_AND_ASSIGN(PrerenderManager);
753 }; 753 };
754 754
755 PrerenderManager* FindPrerenderManagerUsingRenderProcessId( 755 PrerenderManager* FindPrerenderManagerUsingRenderProcessId(
756 int render_process_id); 756 int render_process_id);
757 757
758 } // namespace prerender 758 } // namespace prerender
759 759
760 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ 760 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode/managed_mode_navigation_observer.cc ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698