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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 blink::WebFrame* targetFrame, | 319 blink::WebFrame* targetFrame, |
320 blink::WebSecurityOrigin targetOrigin, | 320 blink::WebSecurityOrigin targetOrigin, |
321 blink::WebDOMMessageEvent event); | 321 blink::WebDOMMessageEvent event); |
322 virtual blink::WebString userAgentOverride( | 322 virtual blink::WebString userAgentOverride( |
323 blink::WebFrame* frame, | 323 blink::WebFrame* frame, |
324 const blink::WebURL& url); | 324 const blink::WebURL& url); |
325 virtual blink::WebString doNotTrackValue(blink::WebFrame* frame); | 325 virtual blink::WebString doNotTrackValue(blink::WebFrame* frame); |
326 virtual bool allowWebGL(blink::WebFrame* frame, bool default_value); | 326 virtual bool allowWebGL(blink::WebFrame* frame, bool default_value); |
327 virtual void didLoseWebGLContext(blink::WebFrame* frame, | 327 virtual void didLoseWebGLContext(blink::WebFrame* frame, |
328 int arb_robustness_status_code); | 328 int arb_robustness_status_code); |
| 329 virtual void initializeChildFrame(const blink::WebRect& frame_rect, |
| 330 float scale_factor); |
329 | 331 |
330 // TODO(jam): move this to WebFrameClient | 332 // TODO(jam): move this to WebFrameClient |
331 virtual void showContextMenu(const blink::WebContextMenuData& data); | 333 virtual void showContextMenu(const blink::WebContextMenuData& data); |
332 | 334 |
333 protected: | 335 protected: |
334 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); | 336 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); |
335 | 337 |
336 private: | 338 private: |
337 friend class RenderFrameObserver; | 339 friend class RenderFrameObserver; |
338 FRIEND_TEST_ALL_PREFIXES(RenderFrameImplTest, | 340 FRIEND_TEST_ALL_PREFIXES(RenderFrameImplTest, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 // always respond properly to the request, so we don't have to worry so | 398 // always respond properly to the request, so we don't have to worry so |
397 // much about leaks. | 399 // much about leaks. |
398 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; | 400 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; |
399 | 401 |
400 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 402 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
401 }; | 403 }; |
402 | 404 |
403 } // namespace content | 405 } // namespace content |
404 | 406 |
405 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 407 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |