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

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

Issue 547093002: Return WebLocalFrame from RenderFrame::GetWebFrame(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // IPC::Sender 243 // IPC::Sender
244 virtual bool Send(IPC::Message* msg) OVERRIDE; 244 virtual bool Send(IPC::Message* msg) OVERRIDE;
245 245
246 // IPC::Listener 246 // IPC::Listener
247 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 247 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
248 248
249 // RenderFrame implementation: 249 // RenderFrame implementation:
250 virtual RenderView* GetRenderView() OVERRIDE; 250 virtual RenderView* GetRenderView() OVERRIDE;
251 virtual int GetRoutingID() OVERRIDE; 251 virtual int GetRoutingID() OVERRIDE;
252 virtual blink::WebFrame* GetWebFrame() OVERRIDE; 252 virtual blink::WebLocalFrame* GetWebFrame() OVERRIDE;
253 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; 253 virtual WebPreferences& GetWebkitPreferences() OVERRIDE;
254 virtual int ShowContextMenu(ContextMenuClient* client, 254 virtual int ShowContextMenu(ContextMenuClient* client,
255 const ContextMenuParams& params) OVERRIDE; 255 const ContextMenuParams& params) OVERRIDE;
256 virtual void CancelContextMenu(int request_id) OVERRIDE; 256 virtual void CancelContextMenu(int request_id) OVERRIDE;
257 virtual blink::WebNode GetContextMenuNode() const OVERRIDE; 257 virtual blink::WebNode GetContextMenuNode() const OVERRIDE;
258 virtual blink::WebPlugin* CreatePlugin( 258 virtual blink::WebPlugin* CreatePlugin(
259 blink::WebFrame* frame, 259 blink::WebFrame* frame,
260 const WebPluginInfo& info, 260 const WebPluginInfo& info,
261 const blink::WebPluginParams& params) OVERRIDE; 261 const blink::WebPluginParams& params) OVERRIDE;
262 virtual void LoadURLExternally(blink::WebLocalFrame* frame, 262 virtual void LoadURLExternally(blink::WebLocalFrame* frame,
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 #endif 739 #endif
740 740
741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
742 742
743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
744 }; 744 };
745 745
746 } // namespace content 746 } // namespace content
747 747
748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698