| 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |