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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // RenderFrameHostDelegate has the same method, so list it there because this 318 // RenderFrameHostDelegate has the same method, so list it there because this
319 // interface is going away. 319 // interface is going away.
320 // virtual WebContents* GetAsWebContents() OVERRIDE; 320 // virtual WebContents* GetAsWebContents() OVERRIDE;
321 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 321 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
322 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 322 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
323 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE; 323 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE;
324 virtual void RenderViewTerminated(RenderViewHost* render_view_host, 324 virtual void RenderViewTerminated(RenderViewHost* render_view_host,
325 base::TerminationStatus status, 325 base::TerminationStatus status,
326 int error_code) OVERRIDE; 326 int error_code) OVERRIDE;
327 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; 327 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE;
328 virtual void DidRedirectProvisionalLoad(
329 RenderViewHost* render_view_host,
330 int32 page_id,
331 const GURL& source_url,
332 const GURL& target_url) OVERRIDE;
333 virtual void DidNavigate( 328 virtual void DidNavigate(
334 RenderViewHost* render_view_host, 329 RenderViewHost* render_view_host,
335 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 330 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
336 virtual void UpdateState(RenderViewHost* render_view_host, 331 virtual void UpdateState(RenderViewHost* render_view_host,
337 int32 page_id, 332 int32 page_id,
338 const PageState& page_state) OVERRIDE; 333 const PageState& page_state) OVERRIDE;
339 virtual void UpdateTitle(RenderViewHost* render_view_host, 334 virtual void UpdateTitle(RenderViewHost* render_view_host,
340 int32 page_id, 335 int32 page_id,
341 const base::string16& title, 336 const base::string16& title,
342 base::i18n::TextDirection title_direction) OVERRIDE; 337 base::i18n::TextDirection title_direction) OVERRIDE;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 int64 frame_id, 452 int64 frame_id,
458 int64 parent_frame_id, 453 int64 parent_frame_id,
459 bool is_main_frame, 454 bool is_main_frame,
460 const GURL& validated_url, 455 const GURL& validated_url,
461 bool is_error_page, 456 bool is_error_page,
462 bool is_iframe_srcdoc) OVERRIDE; 457 bool is_iframe_srcdoc) OVERRIDE;
463 virtual void DidFailProvisionalLoadWithError( 458 virtual void DidFailProvisionalLoadWithError(
464 RenderFrameHostImpl* render_frame_host, 459 RenderFrameHostImpl* render_frame_host,
465 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 460 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
466 OVERRIDE; 461 OVERRIDE;
462 virtual void DidRedirectProvisionalLoad(
463 RenderFrameHostImpl* render_frame_host,
464 const GURL& validated_target_url) OVERRIDE;
467 virtual void NotifyChangedNavigationState( 465 virtual void NotifyChangedNavigationState(
468 InvalidateTypes changed_flags) OVERRIDE; 466 InvalidateTypes changed_flags) OVERRIDE;
469 467
470 // RenderWidgetHostDelegate -------------------------------------------------- 468 // RenderWidgetHostDelegate --------------------------------------------------
471 469
472 virtual void RenderWidgetDeleted( 470 virtual void RenderWidgetDeleted(
473 RenderWidgetHostImpl* render_widget_host) OVERRIDE; 471 RenderWidgetHostImpl* render_widget_host) OVERRIDE;
474 virtual bool PreHandleKeyboardEvent( 472 virtual bool PreHandleKeyboardEvent(
475 const NativeWebKeyboardEvent& event, 473 const NativeWebKeyboardEvent& event,
476 bool* is_keyboard_shortcut) OVERRIDE; 474 bool* is_keyboard_shortcut) OVERRIDE;
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 // Whether this WebContents is responsible for displaying a subframe in a 1041 // Whether this WebContents is responsible for displaying a subframe in a
1044 // different process from its parent page. 1042 // different process from its parent page.
1045 bool is_subframe_; 1043 bool is_subframe_;
1046 1044
1047 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1045 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1048 }; 1046 };
1049 1047
1050 } // namespace content 1048 } // namespace content
1051 1049
1052 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1050 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698