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

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

Issue 2041993002: WebUI: Fix lifecycle-bug when RenderFrameHost is swapped out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 599 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
600 CreateRenderViewAfterProcessKillAndClosedProxy); 600 CreateRenderViewAfterProcessKillAndClosedProxy);
601 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 601 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
602 RestoreFileAccessForHistoryNavigation); 602 RestoreFileAccessForHistoryNavigation);
603 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 603 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
604 RestoreSubframeFileAccessForHistoryNavigation); 604 RestoreSubframeFileAccessForHistoryNavigation);
605 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 605 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
606 RenderViewInitAfterNewProxyAndProcessKill); 606 RenderViewInitAfterNewProxyAndProcessKill);
607 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 607 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
608 UnloadPushStateOnCrossProcessNavigation); 608 UnloadPushStateOnCrossProcessNavigation);
609 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
610 WebUIJavascriptDisallowedAfterSwapOut);
609 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe); 611 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrashSubframe);
610 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 612 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
611 RenderViewHostIsNotReusedAfterDelayedSwapOutACK); 613 RenderViewHostIsNotReusedAfterDelayedSwapOutACK);
612 614
613 // IPC Message handlers. 615 // IPC Message handlers.
614 void OnAddMessageToConsole(int32_t level, 616 void OnAddMessageToConsole(int32_t level,
615 const base::string16& message, 617 const base::string16& message,
616 int32_t line_no, 618 int32_t line_no,
617 const base::string16& source_id); 619 const base::string16& source_id);
618 void OnDetach(); 620 void OnDetach();
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 998
997 // NOTE: This must be the last member. 999 // NOTE: This must be the last member.
998 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1000 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
999 1001
1000 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1002 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1001 }; 1003 };
1002 1004
1003 } // namespace content 1005 } // namespace content
1004 1006
1005 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1007 #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