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

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

Issue 132383005: Set correct viewport size for an out of process iframe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed obsolete test Created 6 years, 10 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/common/swapped_out_messages.cc ('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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 blink::WebSecurityOrigin targetOrigin, 318 blink::WebSecurityOrigin targetOrigin,
319 blink::WebDOMMessageEvent event); 319 blink::WebDOMMessageEvent event);
320 virtual blink::WebString userAgentOverride( 320 virtual blink::WebString userAgentOverride(
321 blink::WebFrame* frame, 321 blink::WebFrame* frame,
322 const blink::WebURL& url); 322 const blink::WebURL& url);
323 virtual blink::WebString doNotTrackValue(blink::WebFrame* frame); 323 virtual blink::WebString doNotTrackValue(blink::WebFrame* frame);
324 virtual bool allowWebGL(blink::WebFrame* frame, bool default_value); 324 virtual bool allowWebGL(blink::WebFrame* frame, bool default_value);
325 virtual void didLoseWebGLContext(blink::WebFrame* frame, 325 virtual void didLoseWebGLContext(blink::WebFrame* frame,
326 int arb_robustness_status_code); 326 int arb_robustness_status_code);
327 virtual void forwardInputEvent(const blink::WebInputEvent* event); 327 virtual void forwardInputEvent(const blink::WebInputEvent* event);
328 virtual void initializeChildFrame(const blink::WebRect& frame_rect,
329 float scale_factor);
328 330
329 // TODO(jam): move this to WebFrameClient 331 // TODO(jam): move this to WebFrameClient
330 virtual void showContextMenu(const blink::WebContextMenuData& data); 332 virtual void showContextMenu(const blink::WebContextMenuData& data);
331 333
332 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move 334 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move
333 // this back to private member. 335 // this back to private member.
334 void OnNavigate(const FrameMsg_Navigate_Params& params); 336 void OnNavigate(const FrameMsg_Navigate_Params& params);
335 337
336 protected: 338 protected:
337 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); 339 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // always respond properly to the request, so we don't have to worry so 405 // always respond properly to the request, so we don't have to worry so
404 // much about leaks. 406 // much about leaks.
405 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; 407 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_;
406 408
407 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 409 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
408 }; 410 };
409 411
410 } // namespace content 412 } // namespace content
411 413
412 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 414 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698