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

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

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync to get android fix Created 6 years, 9 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 | Annotate | Revision Log
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual SiteInstance* GetSiteInstance() OVERRIDE; 48 virtual SiteInstance* GetSiteInstance() OVERRIDE;
49 virtual RenderProcessHost* GetProcess() OVERRIDE; 49 virtual RenderProcessHost* GetProcess() OVERRIDE;
50 virtual RenderFrameHost* GetParent() OVERRIDE; 50 virtual RenderFrameHost* GetParent() OVERRIDE;
51 virtual bool IsCrossProcessSubframe() OVERRIDE; 51 virtual bool IsCrossProcessSubframe() OVERRIDE;
52 virtual GURL GetLastCommittedURL() OVERRIDE; 52 virtual GURL GetLastCommittedURL() OVERRIDE;
53 virtual gfx::NativeView GetNativeView() OVERRIDE; 53 virtual gfx::NativeView GetNativeView() OVERRIDE;
54 virtual void NotifyContextMenuClosed( 54 virtual void NotifyContextMenuClosed(
55 const CustomContextMenuContext& context) OVERRIDE; 55 const CustomContextMenuContext& context) OVERRIDE;
56 virtual void ExecuteCustomContextMenuCommand( 56 virtual void ExecuteCustomContextMenuCommand(
57 int action, const CustomContextMenuContext& context) OVERRIDE; 57 int action, const CustomContextMenuContext& context) OVERRIDE;
58 virtual void Cut() OVERRIDE;
59 virtual void Copy() OVERRIDE;
60 virtual void Paste() OVERRIDE;
58 virtual void InsertCSS(const std::string& css) OVERRIDE; 61 virtual void InsertCSS(const std::string& css) OVERRIDE;
59 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; 62 virtual RenderViewHost* GetRenderViewHost() OVERRIDE;
60 63
61 // IPC::Sender 64 // IPC::Sender
62 virtual bool Send(IPC::Message* msg) OVERRIDE; 65 virtual bool Send(IPC::Message* msg) OVERRIDE;
63 66
64 // IPC::Listener 67 // IPC::Listener
65 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 68 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
66 69
67 void Init(); 70 void Init();
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 FrameTreeNode* frame_tree_node, 146 FrameTreeNode* frame_tree_node,
144 int routing_id, 147 int routing_id,
145 bool is_swapped_out); 148 bool is_swapped_out);
146 149
147 private: 150 private:
148 friend class TestRenderFrameHost; 151 friend class TestRenderFrameHost;
149 friend class TestRenderViewHost; 152 friend class TestRenderViewHost;
150 153
151 // IPC Message handlers. 154 // IPC Message handlers.
152 void OnDetach(); 155 void OnDetach();
156 void OnFrameFocused();
153 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 157 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
154 void OnDidStartProvisionalLoadForFrame(int parent_routing_id, 158 void OnDidStartProvisionalLoadForFrame(int parent_routing_id,
155 bool main_frame, 159 bool main_frame,
156 const GURL& url); 160 const GURL& url);
157 void OnDidFailProvisionalLoadWithError( 161 void OnDidFailProvisionalLoadWithError(
158 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); 162 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params);
159 void OnDidFailLoadWithError( 163 void OnDidFailLoadWithError(
160 const GURL& url, 164 const GURL& url,
161 bool is_main_frame, 165 bool is_main_frame,
162 int error_code, 166 int error_code,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 210
207 int routing_id_; 211 int routing_id_;
208 bool is_swapped_out_; 212 bool is_swapped_out_;
209 213
210 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 214 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
211 }; 215 };
212 216
213 } // namespace content 217 } // namespace content
214 218
215 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 219 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_tree.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