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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 191293006: Move GetContextMenuNode from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync and fix android clang error 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
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_frame_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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 164 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
165 165
166 // RenderFrame implementation: 166 // RenderFrame implementation:
167 virtual RenderView* GetRenderView() OVERRIDE; 167 virtual RenderView* GetRenderView() OVERRIDE;
168 virtual int GetRoutingID() OVERRIDE; 168 virtual int GetRoutingID() OVERRIDE;
169 virtual blink::WebFrame* GetWebFrame() OVERRIDE; 169 virtual blink::WebFrame* GetWebFrame() OVERRIDE;
170 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; 170 virtual WebPreferences& GetWebkitPreferences() OVERRIDE;
171 virtual int ShowContextMenu(ContextMenuClient* client, 171 virtual int ShowContextMenu(ContextMenuClient* client,
172 const ContextMenuParams& params) OVERRIDE; 172 const ContextMenuParams& params) OVERRIDE;
173 virtual void CancelContextMenu(int request_id) OVERRIDE; 173 virtual void CancelContextMenu(int request_id) OVERRIDE;
174 virtual blink::WebNode GetContextMenuNode() const OVERRIDE;
174 virtual blink::WebPlugin* CreatePlugin( 175 virtual blink::WebPlugin* CreatePlugin(
175 blink::WebFrame* frame, 176 blink::WebFrame* frame,
176 const WebPluginInfo& info, 177 const WebPluginInfo& info,
177 const blink::WebPluginParams& params) OVERRIDE; 178 const blink::WebPluginParams& params) OVERRIDE;
178 virtual void LoadURLExternally( 179 virtual void LoadURLExternally(
179 blink::WebFrame* frame, 180 blink::WebFrame* frame,
180 const blink::WebURLRequest& request, 181 const blink::WebURLRequest& request,
181 blink::WebNavigationPolicy policy) OVERRIDE; 182 blink::WebNavigationPolicy policy) OVERRIDE;
182 183
183 // blink::WebFrameClient implementation ------------------------------------- 184 // blink::WebFrameClient implementation -------------------------------------
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 // always respond properly to the request, so we don't have to worry so 428 // always respond properly to the request, so we don't have to worry so
428 // much about leaks. 429 // much about leaks.
429 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; 430 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_;
430 431
431 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 432 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
432 }; 433 };
433 434
434 } // namespace content 435 } // namespace content
435 436
436 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 437 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698