OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |