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

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

Issue 2496233003: Destroy the old RenderWidgetHostView when swapping out a main frame. (Closed)
Patch Set: rebase Created 4 years 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 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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 RenderViewInitAfterNewProxyAndProcessKill); 610 RenderViewInitAfterNewProxyAndProcessKill);
611 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 611 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
612 UnloadPushStateOnCrossProcessNavigation); 612 UnloadPushStateOnCrossProcessNavigation);
613 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 613 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
614 WebUIJavascriptDisallowedAfterSwapOut); 614 WebUIJavascriptDisallowedAfterSwapOut);
615 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, LastCommittedOrigin); 615 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, LastCommittedOrigin);
616 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe); 616 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe);
617 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 617 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
618 RenderViewHostIsNotReusedAfterDelayedSwapOutACK); 618 RenderViewHostIsNotReusedAfterDelayedSwapOutACK);
619 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 619 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
620 RenderViewHostStaysActiveWithLateSwapoutACK);
621 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
620 LoadEventForwardingWhilePendingDeletion); 622 LoadEventForwardingWhilePendingDeletion);
621 623
622 // IPC Message handlers. 624 // IPC Message handlers.
623 void OnDidAddMessageToConsole(int32_t level, 625 void OnDidAddMessageToConsole(int32_t level,
624 const base::string16& message, 626 const base::string16& message,
625 int32_t line_no, 627 int32_t line_no,
626 const base::string16& source_id); 628 const base::string16& source_id);
627 void OnDetach(); 629 void OnDetach();
628 void OnFrameFocused(); 630 void OnFrameFocused();
629 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 631 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 remote_associated_interfaces_; 1092 remote_associated_interfaces_;
1091 // NOTE: This must be the last member. 1093 // NOTE: This must be the last member.
1092 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1094 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1093 1095
1094 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1096 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1095 }; 1097 };
1096 1098
1097 } // namespace content 1099 } // namespace content
1098 1100
1099 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1101 #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') | content/browser/web_contents/web_contents_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698