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

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

Issue 2786443003: 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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 RenderViewInitAfterNewProxyAndProcessKill); 664 RenderViewInitAfterNewProxyAndProcessKill);
665 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 665 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
666 UnloadPushStateOnCrossProcessNavigation); 666 UnloadPushStateOnCrossProcessNavigation);
667 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 667 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
668 WebUIJavascriptDisallowedAfterSwapOut); 668 WebUIJavascriptDisallowedAfterSwapOut);
669 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, LastCommittedOrigin); 669 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, LastCommittedOrigin);
670 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe); 670 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe);
671 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 671 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
672 RenderViewHostIsNotReusedAfterDelayedSwapOutACK); 672 RenderViewHostIsNotReusedAfterDelayedSwapOutACK);
673 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 673 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
674 RenderViewHostStaysActiveWithLateSwapoutACK);
675 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
676 LoadEventForwardingWhilePendingDeletion); 674 LoadEventForwardingWhilePendingDeletion);
677 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 675 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
678 ContextMenuAfterCrossProcessNavigation); 676 ContextMenuAfterCrossProcessNavigation);
679 677
680 // IPC Message handlers. 678 // IPC Message handlers.
681 void OnDidAddMessageToConsole(int32_t level, 679 void OnDidAddMessageToConsole(int32_t level,
682 const base::string16& message, 680 const base::string16& message,
683 int32_t line_no, 681 int32_t line_no,
684 const base::string16& source_id); 682 const base::string16& source_id);
685 void OnDetach(); 683 void OnDetach();
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 1165
1168 // NOTE: This must be the last member. 1166 // NOTE: This must be the last member.
1169 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1167 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1170 1168
1171 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1169 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1172 }; 1170 };
1173 1171
1174 } // namespace content 1172 } // namespace content
1175 1173
1176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1174 #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