OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "build/build_config.h" | 26 #include "build/build_config.h" |
27 #include "cc/input/top_controls_state.h" | 27 #include "cc/input/top_controls_state.h" |
28 #include "cc/resources/shared_bitmap.h" | 28 #include "cc/resources/shared_bitmap.h" |
29 #include "content/common/content_export.h" | 29 #include "content/common/content_export.h" |
30 #include "content/common/drag_event_source_info.h" | 30 #include "content/common/drag_event_source_info.h" |
31 #include "content/common/edit_command.h" | 31 #include "content/common/edit_command.h" |
32 #include "content/common/frame_message_enums.h" | 32 #include "content/common/frame_message_enums.h" |
33 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 33 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
34 #include "content/common/navigation_gesture.h" | 34 #include "content/common/navigation_gesture.h" |
35 #include "content/common/view_message_enums.h" | 35 #include "content/common/view_message_enums.h" |
| 36 #include "content/public/common/drop_data.h" |
36 #include "content/public/common/page_zoom.h" | 37 #include "content/public/common/page_zoom.h" |
37 #include "content/public/common/referrer.h" | 38 #include "content/public/common/referrer.h" |
38 #include "content/public/common/renderer_preferences.h" | 39 #include "content/public/common/renderer_preferences.h" |
39 #include "content/public/common/top_controls_state.h" | 40 #include "content/public/common/top_controls_state.h" |
40 #include "content/public/common/web_preferences.h" | 41 #include "content/public/common/web_preferences.h" |
41 #include "content/public/renderer/render_view.h" | 42 #include "content/public/renderer/render_view.h" |
42 #include "content/renderer/mouse_lock_dispatcher.h" | 43 #include "content/renderer/mouse_lock_dispatcher.h" |
43 #include "content/renderer/render_frame_impl.h" | 44 #include "content/renderer/render_frame_impl.h" |
44 #include "content/renderer/render_widget.h" | 45 #include "content/renderer/render_widget.h" |
45 #include "content/renderer/render_widget_owner_delegate.h" | 46 #include "content/renderer/render_widget_owner_delegate.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 class MouseLockDispatcher; | 126 class MouseLockDispatcher; |
126 class PageState; | 127 class PageState; |
127 class PepperPluginInstanceImpl; | 128 class PepperPluginInstanceImpl; |
128 class RenderViewImplTest; | 129 class RenderViewImplTest; |
129 class RenderViewObserver; | 130 class RenderViewObserver; |
130 class RenderViewTest; | 131 class RenderViewTest; |
131 class RendererDateTimePicker; | 132 class RendererDateTimePicker; |
132 class RendererWebColorChooserImpl; | 133 class RendererWebColorChooserImpl; |
133 class SpeechRecognitionDispatcher; | 134 class SpeechRecognitionDispatcher; |
134 class WebPluginDelegateProxy; | 135 class WebPluginDelegateProxy; |
135 struct DropData; | |
136 struct FaviconURL; | 136 struct FaviconURL; |
137 struct FileChooserParams; | 137 struct FileChooserParams; |
138 struct FileChooserFileInfo; | 138 struct FileChooserFileInfo; |
139 struct RenderViewImplParams; | 139 struct RenderViewImplParams; |
140 struct ResizeParams; | 140 struct ResizeParams; |
141 | 141 |
142 #if defined(OS_ANDROID) | 142 #if defined(OS_ANDROID) |
143 class WebMediaPlayerProxyAndroid; | 143 class WebMediaPlayerProxyAndroid; |
144 #endif | 144 #endif |
145 | 145 |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 const gfx::Point& location); | 610 const gfx::Point& location); |
611 void OnCopyImageAt(int x, int y); | 611 void OnCopyImageAt(int x, int y); |
612 void OnSaveImageAt(int x, int y); | 612 void OnSaveImageAt(int x, int y); |
613 void OnDeterminePageLanguage(); | 613 void OnDeterminePageLanguage(); |
614 void OnDisableScrollbarsForSmallWindows( | 614 void OnDisableScrollbarsForSmallWindows( |
615 const gfx::Size& disable_scrollbars_size_limit); | 615 const gfx::Size& disable_scrollbars_size_limit); |
616 void OnDragSourceEnded(const gfx::Point& client_point, | 616 void OnDragSourceEnded(const gfx::Point& client_point, |
617 const gfx::Point& screen_point, | 617 const gfx::Point& screen_point, |
618 blink::WebDragOperation drag_operation); | 618 blink::WebDragOperation drag_operation); |
619 void OnDragSourceSystemDragEnded(); | 619 void OnDragSourceSystemDragEnded(); |
620 void OnDragTargetDrop(const gfx::Point& client_pt, | 620 void OnDragTargetDrop(const DropData& drop_data, |
| 621 const gfx::Point& client_pt, |
621 const gfx::Point& screen_pt, | 622 const gfx::Point& screen_pt, |
622 int key_modifiers); | 623 int key_modifiers); |
623 void OnDragTargetDragEnter(const DropData& drop_data, | 624 // |drop_meta_data| is a vector of "mimetype" to "kind" pairs. Real data that |
624 const gfx::Point& client_pt, | 625 // is dragged is not included at DragEnter time. |
625 const gfx::Point& screen_pt, | 626 void OnDragTargetDragEnter( |
626 blink::WebDragOperationsMask operations_allowed, | 627 const std::vector<MimeTypeKindPair>& drop_meta_data, |
627 int key_modifiers); | 628 const gfx::Point& client_pt, |
| 629 const gfx::Point& screen_pt, |
| 630 blink::WebDragOperationsMask operations_allowed, |
| 631 int key_modifiers); |
628 void OnDragTargetDragLeave(); | 632 void OnDragTargetDragLeave(); |
629 void OnDragTargetDragOver(const gfx::Point& client_pt, | 633 void OnDragTargetDragOver(const gfx::Point& client_pt, |
630 const gfx::Point& screen_pt, | 634 const gfx::Point& screen_pt, |
631 blink::WebDragOperationsMask operations_allowed, | 635 blink::WebDragOperationsMask operations_allowed, |
632 int key_modifiers); | 636 int key_modifiers); |
633 void OnEnablePreferredSizeChangedMode(); | 637 void OnEnablePreferredSizeChangedMode(); |
634 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 638 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
635 void OnDisableAutoResize(const gfx::Size& new_size); | 639 void OnDisableAutoResize(const gfx::Size& new_size); |
636 void OnEnumerateDirectoryResponse(int id, | 640 void OnEnumerateDirectoryResponse(int id, |
637 const std::vector<base::FilePath>& paths); | 641 const std::vector<base::FilePath>& paths); |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 // use the Observer interface to filter IPC messages and receive frame change | 980 // use the Observer interface to filter IPC messages and receive frame change |
977 // notifications. | 981 // notifications. |
978 // --------------------------------------------------------------------------- | 982 // --------------------------------------------------------------------------- |
979 | 983 |
980 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 984 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
981 }; | 985 }; |
982 | 986 |
983 } // namespace content | 987 } // namespace content |
984 | 988 |
985 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 989 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |