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

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

Issue 1374053002: Remove AboutToNavigateRenderFrame, issue custom notification for DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, win test fix Created 5 years, 2 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_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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 // Convert the content-layer-specific AXContentNodeData to a general-purpose 603 // Convert the content-layer-specific AXContentNodeData to a general-purpose
604 // AXNodeData structure. 604 // AXNodeData structure.
605 void AXContentNodeDataToAXNodeData(const AXContentNodeData& src, 605 void AXContentNodeDataToAXNodeData(const AXContentNodeData& src,
606 ui::AXNodeData* dst); 606 ui::AXNodeData* dst);
607 607
608 // Returns the RenderWidgetHostView used for accessibility. For subframes, 608 // Returns the RenderWidgetHostView used for accessibility. For subframes,
609 // this function will return the platform view on the main frame; for main 609 // this function will return the platform view on the main frame; for main
610 // frames, it will return the current frame's view. 610 // frames, it will return the current frame's view.
611 RenderWidgetHostViewBase* GetViewForAccessibility(); 611 RenderWidgetHostViewBase* GetViewForAccessibility();
612 612
613 // Sends a navigate message to the RenderFrame and notifies DevTools about
614 // navigation happening. Should be used instead of sending the message
615 // directly.
616 void SendNavigateMessage(
617 const content::CommonNavigationParams& common_params,
618 const content::StartNavigationParams& start_params,
619 const content::RequestNavigationParams& request_params);
620
613 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 621 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
614 // refcount that calls Shutdown when it reaches zero. This allows each 622 // refcount that calls Shutdown when it reaches zero. This allows each
615 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring 623 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
616 // we have a RenderViewHost for each RenderFrameHost. 624 // we have a RenderViewHost for each RenderFrameHost.
617 // TODO(creis): RenderViewHost will eventually go away and be replaced with 625 // TODO(creis): RenderViewHost will eventually go away and be replaced with
618 // some form of page context. 626 // some form of page context.
619 RenderViewHostImpl* render_view_host_; 627 RenderViewHostImpl* render_view_host_;
620 628
621 RenderFrameHostDelegate* delegate_; 629 RenderFrameHostDelegate* delegate_;
622 630
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 788
781 // NOTE: This must be the last member. 789 // NOTE: This must be the last member.
782 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 790 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
783 791
784 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 792 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
785 }; 793 };
786 794
787 } // namespace content 795 } // namespace content
788 796
789 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 797 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698