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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2798673002: Revert "Destroy the old RenderWidgetHostView when swapping out a main frame." (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 RenderViewInitAfterNewProxyAndProcessKill); 647 RenderViewInitAfterNewProxyAndProcessKill);
648 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 648 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
649 UnloadPushStateOnCrossProcessNavigation); 649 UnloadPushStateOnCrossProcessNavigation);
650 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 650 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
651 WebUIJavascriptDisallowedAfterSwapOut); 651 WebUIJavascriptDisallowedAfterSwapOut);
652 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, LastCommittedOrigin); 652 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, LastCommittedOrigin);
653 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe); 653 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe);
654 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 654 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
655 RenderViewHostIsNotReusedAfterDelayedSwapOutACK); 655 RenderViewHostIsNotReusedAfterDelayedSwapOutACK);
656 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 656 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
657 RenderViewHostStaysActiveWithLateSwapoutACK);
658 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
659 LoadEventForwardingWhilePendingDeletion); 657 LoadEventForwardingWhilePendingDeletion);
660 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 658 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
661 ContextMenuAfterCrossProcessNavigation); 659 ContextMenuAfterCrossProcessNavigation);
662 660
663 // IPC Message handlers. 661 // IPC Message handlers.
664 void OnDidAddMessageToConsole(int32_t level, 662 void OnDidAddMessageToConsole(int32_t level,
665 const base::string16& message, 663 const base::string16& message,
666 int32_t line_no, 664 int32_t line_no,
667 const base::string16& source_id); 665 const base::string16& source_id);
668 void OnDetach(); 666 void OnDetach();
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1127
1130 // NOTE: This must be the last member. 1128 // NOTE: This must be the last member.
1131 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1129 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1132 1130
1133 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1131 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1134 }; 1132 };
1135 1133
1136 } // namespace content 1134 } // namespace content
1137 1135
1138 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1136 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698