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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 // The documentation for these functions should be in | 354 // The documentation for these functions should be in |
355 // content/common/*_messages.h for the message that the function is handling. | 355 // content/common/*_messages.h for the message that the function is handling. |
356 void OnSwapOut(); | 356 void OnSwapOut(); |
357 void OnChildFrameProcessGone(); | 357 void OnChildFrameProcessGone(); |
358 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params); | 358 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params); |
359 void OnCompositorFrameSwapped(const IPC::Message& message); | 359 void OnCompositorFrameSwapped(const IPC::Message& message); |
360 void OnShowContextMenu(const gfx::Point& location); | 360 void OnShowContextMenu(const gfx::Point& location); |
361 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); | 361 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); |
362 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, | 362 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, |
363 unsigned action); | 363 unsigned action); |
| 364 void OnCSSInsertRequest(const std::string& css); |
364 // Virtual since overridden by WebTestProxy for layout tests. | 365 // Virtual since overridden by WebTestProxy for layout tests. |
365 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( | 366 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
366 RenderFrame* render_frame, | 367 RenderFrame* render_frame, |
367 blink::WebFrame* frame, | 368 blink::WebFrame* frame, |
368 blink::WebDataSource::ExtraData* extraData, | 369 blink::WebDataSource::ExtraData* extraData, |
369 const blink::WebURLRequest& request, | 370 const blink::WebURLRequest& request, |
370 blink::WebNavigationType type, | 371 blink::WebNavigationType type, |
371 blink::WebNavigationPolicy default_policy, | 372 blink::WebNavigationPolicy default_policy, |
372 bool is_redirect); | 373 bool is_redirect); |
373 void OpenURL(blink::WebFrame* frame, | 374 void OpenURL(blink::WebFrame* frame, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 // always respond properly to the request, so we don't have to worry so | 417 // always respond properly to the request, so we don't have to worry so |
417 // much about leaks. | 418 // much about leaks. |
418 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; | 419 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; |
419 | 420 |
420 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 421 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
421 }; | 422 }; |
422 | 423 |
423 } // namespace content | 424 } // namespace content |
424 | 425 |
425 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 426 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |