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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 868673002: OOPIF: report both original and destination rfh in AboutToNavigateRenderFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 const LoadCommittedDetails& details, 515 const LoadCommittedDetails& details,
516 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 516 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
517 void DidNavigateAnyFramePostCommit( 517 void DidNavigateAnyFramePostCommit(
518 RenderFrameHostImpl* render_frame_host, 518 RenderFrameHostImpl* render_frame_host,
519 const LoadCommittedDetails& details, 519 const LoadCommittedDetails& details,
520 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 520 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
521 void SetMainFrameMimeType(const std::string& mime_type) override; 521 void SetMainFrameMimeType(const std::string& mime_type) override;
522 bool CanOverscrollContent() const override; 522 bool CanOverscrollContent() const override;
523 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; 523 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override;
524 void AboutToNavigateRenderFrame( 524 void AboutToNavigateRenderFrame(
525 RenderFrameHostImpl* render_frame_host) override; 525 RenderFrameHostImpl* from_host,
dgozman 2015/01/22 13:54:09 old/new?
pfeldman 2015/01/22 22:10:05 Done.
526 RenderFrameHostImpl* to_host) override;
526 void DidStartNavigationToPendingEntry( 527 void DidStartNavigationToPendingEntry(
527 RenderFrameHostImpl* render_frame_host, 528 RenderFrameHostImpl* render_frame_host,
528 const GURL& url, 529 const GURL& url,
529 NavigationController::ReloadType reload_type) override; 530 NavigationController::ReloadType reload_type) override;
530 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 531 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
531 const OpenURLParams& params) override; 532 const OpenURLParams& params) override;
532 bool ShouldPreserveAbortedURLs() override; 533 bool ShouldPreserveAbortedURLs() override;
533 534
534 // RenderWidgetHostDelegate -------------------------------------------------- 535 // RenderWidgetHostDelegate --------------------------------------------------
535 536
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 // Adds/removes a callback called on creation of each new WebContents. 1269 // Adds/removes a callback called on creation of each new WebContents.
1269 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1270 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1270 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1271 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1271 1272
1272 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1273 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1273 }; 1274 };
1274 1275
1275 } // namespace content 1276 } // namespace content
1276 1277
1277 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1278 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698