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 14 matching lines...) Expand all Loading... | |
25 #include "third_party/WebKit/public/web/WebFrameClient.h" | 25 #include "third_party/WebKit/public/web/WebFrameClient.h" |
26 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 26 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
27 #include "ui/gfx/range/range.h" | 27 #include "ui/gfx/range/range.h" |
28 | 28 |
29 #if defined(OS_ANDROID) | 29 #if defined(OS_ANDROID) |
30 #include "content/renderer/media/android/renderer_media_player_manager.h" | 30 #include "content/renderer/media/android/renderer_media_player_manager.h" |
31 #endif | 31 #endif |
32 | 32 |
33 class TransportDIB; | 33 class TransportDIB; |
34 struct FrameMsg_BuffersSwapped_Params; | 34 struct FrameMsg_BuffersSwapped_Params; |
35 struct FrameMsg_CompositorFrameSwapped_Params; | 35 struct FrameMsg_CompositorFrameSwapped_Params; |
kenrb
2014/06/20 14:28:19
Can these forward declarations be removed?
nasko
2014/06/20 17:01:34
Done.
| |
36 struct FrameMsg_Navigate_Params; | 36 struct FrameMsg_Navigate_Params; |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 class WebGeolocationClient; | 39 class WebGeolocationClient; |
40 class WebInputEvent; | 40 class WebInputEvent; |
41 class WebMouseEvent; | 41 class WebMouseEvent; |
42 class WebContentDecryptionModule; | 42 class WebContentDecryptionModule; |
43 class WebMediaPlayer; | 43 class WebMediaPlayer; |
44 class WebNotificationPresenter; | 44 class WebNotificationPresenter; |
45 class WebSecurityOrigin; | 45 class WebSecurityOrigin; |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
425 // Gets the focused element. If no such element exists then the element will | 425 // Gets the focused element. If no such element exists then the element will |
426 // be NULL. | 426 // be NULL. |
427 blink::WebElement GetFocusedElement(); | 427 blink::WebElement GetFocusedElement(); |
428 | 428 |
429 // IPC message handlers ------------------------------------------------------ | 429 // IPC message handlers ------------------------------------------------------ |
430 // | 430 // |
431 // The documentation for these functions should be in | 431 // The documentation for these functions should be in |
432 // content/common/*_messages.h for the message that the function is handling. | 432 // content/common/*_messages.h for the message that the function is handling. |
433 void OnBeforeUnload(); | 433 void OnBeforeUnload(); |
434 void OnSwapOut(int proxy_routing_id); | 434 void OnSwapOut(int proxy_routing_id); |
435 void OnChildFrameProcessGone(); | |
436 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params); | |
437 void OnCompositorFrameSwapped(const IPC::Message& message); | |
438 void OnShowContextMenu(const gfx::Point& location); | 435 void OnShowContextMenu(const gfx::Point& location); |
439 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); | 436 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); |
440 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, | 437 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, |
441 unsigned action); | 438 unsigned action); |
442 void OnUndo(); | 439 void OnUndo(); |
443 void OnRedo(); | 440 void OnRedo(); |
444 void OnCut(); | 441 void OnCut(); |
445 void OnCopy(); | 442 void OnCopy(); |
446 void OnPaste(); | 443 void OnPaste(); |
447 void OnPasteAndMatchStyle(); | 444 void OnPasteAndMatchStyle(); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
638 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 635 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
639 | 636 |
640 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 637 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
641 | 638 |
642 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 639 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
643 }; | 640 }; |
644 | 641 |
645 } // namespace content | 642 } // namespace content |
646 | 643 |
647 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 644 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |