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

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

Issue 1131593003: Revert of Revert of OOPIF: Specify previous sibling frames when creating new RenderFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 570
571 // RenderFrameHostManager::Delegate ------------------------------------------ 571 // RenderFrameHostManager::Delegate ------------------------------------------
572 572
573 bool CreateRenderViewForRenderManager( 573 bool CreateRenderViewForRenderManager(
574 RenderViewHost* render_view_host, 574 RenderViewHost* render_view_host,
575 int opener_route_id, 575 int opener_route_id,
576 int proxy_routing_id, 576 int proxy_routing_id,
577 bool for_main_frame_navigation) override; 577 bool for_main_frame_navigation) override;
578 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, 578 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host,
579 int parent_routing_id, 579 int parent_routing_id,
580 int previous_sibling_routing_id,
580 int proxy_routing_id) override; 581 int proxy_routing_id) override;
581 void BeforeUnloadFiredFromRenderManager( 582 void BeforeUnloadFiredFromRenderManager(
582 bool proceed, 583 bool proceed,
583 const base::TimeTicks& proceed_time, 584 const base::TimeTicks& proceed_time,
584 bool* proceed_to_fire_unload) override; 585 bool* proceed_to_fire_unload) override;
585 void RenderProcessGoneFromRenderManager( 586 void RenderProcessGoneFromRenderManager(
586 RenderViewHost* render_view_host) override; 587 RenderViewHost* render_view_host) override;
587 void UpdateRenderViewSizeForRenderManager() override; 588 void UpdateRenderViewSizeForRenderManager() override;
588 void CancelModalDialogsForRenderManager() override; 589 void CancelModalDialogsForRenderManager() override;
589 void NotifySwappedFromRenderManager(RenderFrameHost* old_host, 590 void NotifySwappedFromRenderManager(RenderFrameHost* old_host,
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 // Adds/removes a callback called on creation of each new WebContents. 1285 // Adds/removes a callback called on creation of each new WebContents.
1285 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1286 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1286 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1287 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1287 1288
1288 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1289 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1289 }; 1290 };
1290 1291
1291 } // namespace content 1292 } // namespace content
1292 1293
1293 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1294 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.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