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

Side by Side Diff: content/public/browser/web_contents_observer.h

Issue 10316020: Remove WebContentsImpl::OnDidRedirectProvisionalLoad. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Listen for RESOURCE_RECEIVED_REDIRET in PrerenderTabHelper Created 8 years, 7 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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 30 matching lines...) Expand all
41 const LoadCommittedDetails& details, 41 const LoadCommittedDetails& details,
42 const FrameNavigateParams& params) {} 42 const FrameNavigateParams& params) {}
43 // |render_view_host| is the RenderViewHost for which the provisional load is 43 // |render_view_host| is the RenderViewHost for which the provisional load is
44 // happening. 44 // happening.
45 virtual void DidStartProvisionalLoadForFrame( 45 virtual void DidStartProvisionalLoadForFrame(
46 int64 frame_id, 46 int64 frame_id,
47 bool is_main_frame, 47 bool is_main_frame,
48 const GURL& validated_url, 48 const GURL& validated_url,
49 bool is_error_page, 49 bool is_error_page,
50 RenderViewHost* render_view_host) {} 50 RenderViewHost* render_view_host) {}
51 virtual void ProvisionalChangeToMainFrameUrl(
52 const GURL& url,
53 const GURL& opener_url,
54 RenderViewHost* render_view_host) {}
55 virtual void DidCommitProvisionalLoadForFrame( 51 virtual void DidCommitProvisionalLoadForFrame(
56 int64 frame_id, 52 int64 frame_id,
57 bool is_main_frame, 53 bool is_main_frame,
58 const GURL& url, 54 const GURL& url,
59 PageTransition transition_type, 55 PageTransition transition_type,
60 RenderViewHost* render_view_host) {} 56 RenderViewHost* render_view_host) {}
61 virtual void DidFailProvisionalLoad(int64 frame_id, 57 virtual void DidFailProvisionalLoad(int64 frame_id,
62 bool is_main_frame, 58 bool is_main_frame,
63 const GURL& validated_url, 59 const GURL& validated_url,
64 int error_code, 60 int error_code,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void WebContentsImplDestroyed(); 143 void WebContentsImplDestroyed();
148 144
149 WebContentsImpl* web_contents_; 145 WebContentsImpl* web_contents_;
150 146
151 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 147 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
152 }; 148 };
153 149
154 } // namespace content 150 } // namespace content
155 151
156 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 152 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698