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

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

Issue 1851253002: Remove RFHM::IsPendingDeletion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit. Created 4 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
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_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 bool IsOnSwappedOutList(RenderFrameHostImpl* rfh) const; 377 bool IsOnSwappedOutList(RenderFrameHostImpl* rfh) const;
378 378
379 // Returns the swapped out RenderViewHost for the given SiteInstance, if any. 379 // Returns the swapped out RenderViewHost for the given SiteInstance, if any.
380 // This method is *deprecated* and GetRenderFrameProxyHost should be used. 380 // This method is *deprecated* and GetRenderFrameProxyHost should be used.
381 RenderViewHostImpl* GetSwappedOutRenderViewHost(SiteInstance* instance) const; 381 RenderViewHostImpl* GetSwappedOutRenderViewHost(SiteInstance* instance) const;
382 382
383 // Returns the RenderFrameProxyHost for the given SiteInstance, if any. 383 // Returns the RenderFrameProxyHost for the given SiteInstance, if any.
384 RenderFrameProxyHost* GetRenderFrameProxyHost( 384 RenderFrameProxyHost* GetRenderFrameProxyHost(
385 SiteInstance* instance) const; 385 SiteInstance* instance) const;
386 386
387 // Returns whether |render_frame_host| is on the pending deletion list.
388 bool IsPendingDeletion(RenderFrameHostImpl* render_frame_host);
389
390 // Returns whether |render_view_host| will be deleted when its main 387 // Returns whether |render_view_host| will be deleted when its main
391 // RenderFrameHost is deleted from the pending deletion list. 388 // RenderFrameHost is deleted from the pending deletion list.
392 bool IsViewPendingDeletion(RenderViewHostImpl* render_view_host); 389 bool IsViewPendingDeletion(RenderViewHostImpl* render_view_host);
393 390
394 // If |render_frame_host| is on the pending deletion list, this deletes it. 391 // If |render_frame_host| is on the pending deletion list, this deletes it.
395 // Returns whether it was deleted. 392 // Returns whether it was deleted.
396 bool DeleteFromPendingList(RenderFrameHostImpl* render_frame_host); 393 bool DeleteFromPendingList(RenderFrameHostImpl* render_frame_host);
397 394
398 // Deletes any proxy hosts associated with this node. Used during destruction 395 // Deletes any proxy hosts associated with this node. Used during destruction
399 // of WebContentsImpl. 396 // of WebContentsImpl.
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 793 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
797 794
798 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 795 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
799 796
800 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 797 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
801 }; 798 };
802 799
803 } // namespace content 800 } // namespace content
804 801
805 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 802 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698