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/navigation_gesture.h" | 33 #include "content/common/navigation_gesture.h" |
34 #include "content/common/page_message_enums.h" | 34 #include "content/common/page_message_enums.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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 class HistoryEntry; | 124 class HistoryEntry; |
124 class MouseLockDispatcher; | 125 class MouseLockDispatcher; |
125 class PageState; | 126 class PageState; |
126 class RenderViewImplTest; | 127 class RenderViewImplTest; |
127 class RenderViewObserver; | 128 class RenderViewObserver; |
128 class RenderViewTest; | 129 class RenderViewTest; |
129 class RendererDateTimePicker; | 130 class RendererDateTimePicker; |
130 class RendererWebColorChooserImpl; | 131 class RendererWebColorChooserImpl; |
131 class SpeechRecognitionDispatcher; | 132 class SpeechRecognitionDispatcher; |
132 class WebPluginDelegateProxy; | 133 class WebPluginDelegateProxy; |
133 struct DropData; | |
134 struct FaviconURL; | 134 struct FaviconURL; |
135 struct FileChooserParams; | 135 struct FileChooserParams; |
136 struct FileChooserFileInfo; | 136 struct FileChooserFileInfo; |
137 struct RenderViewImplParams; | 137 struct RenderViewImplParams; |
138 struct ResizeParams; | 138 struct ResizeParams; |
139 | 139 |
140 #if defined(OS_ANDROID) | 140 #if defined(OS_ANDROID) |
141 class WebMediaPlayerProxyAndroid; | 141 class WebMediaPlayerProxyAndroid; |
142 #endif | 142 #endif |
143 | 143 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 const gfx::Point& location); | 618 const gfx::Point& location); |
619 void OnCopyImageAt(int x, int y); | 619 void OnCopyImageAt(int x, int y); |
620 void OnSaveImageAt(int x, int y); | 620 void OnSaveImageAt(int x, int y); |
621 void OnDeterminePageLanguage(); | 621 void OnDeterminePageLanguage(); |
622 void OnDisableScrollbarsForSmallWindows( | 622 void OnDisableScrollbarsForSmallWindows( |
623 const gfx::Size& disable_scrollbars_size_limit); | 623 const gfx::Size& disable_scrollbars_size_limit); |
624 void OnDragSourceEnded(const gfx::Point& client_point, | 624 void OnDragSourceEnded(const gfx::Point& client_point, |
625 const gfx::Point& screen_point, | 625 const gfx::Point& screen_point, |
626 blink::WebDragOperation drag_operation); | 626 blink::WebDragOperation drag_operation); |
627 void OnDragSourceSystemDragEnded(); | 627 void OnDragSourceSystemDragEnded(); |
628 void OnDragTargetDrop(const gfx::Point& client_pt, | 628 void OnDragTargetDrop(const DropData& drop_data, |
| 629 const gfx::Point& client_pt, |
629 const gfx::Point& screen_pt, | 630 const gfx::Point& screen_pt, |
630 int key_modifiers); | 631 int key_modifiers); |
631 void OnDragTargetDragEnter(const DropData& drop_data, | 632 // Real data that is dragged is not included at DragEnter time. |
632 const gfx::Point& client_pt, | 633 void OnDragTargetDragEnter( |
633 const gfx::Point& screen_pt, | 634 const std::vector<DropData::Metadata>& drop_meta_data, |
634 blink::WebDragOperationsMask operations_allowed, | 635 const gfx::Point& client_pt, |
635 int key_modifiers); | 636 const gfx::Point& screen_pt, |
| 637 blink::WebDragOperationsMask operations_allowed, |
| 638 int key_modifiers); |
636 void OnDragTargetDragLeave(); | 639 void OnDragTargetDragLeave(); |
637 void OnDragTargetDragOver(const gfx::Point& client_pt, | 640 void OnDragTargetDragOver(const gfx::Point& client_pt, |
638 const gfx::Point& screen_pt, | 641 const gfx::Point& screen_pt, |
639 blink::WebDragOperationsMask operations_allowed, | 642 blink::WebDragOperationsMask operations_allowed, |
640 int key_modifiers); | 643 int key_modifiers); |
641 void OnEnablePreferredSizeChangedMode(); | 644 void OnEnablePreferredSizeChangedMode(); |
642 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 645 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
643 void OnDisableAutoResize(const gfx::Size& new_size); | 646 void OnDisableAutoResize(const gfx::Size& new_size); |
644 void OnEnumerateDirectoryResponse(int id, | 647 void OnEnumerateDirectoryResponse(int id, |
645 const std::vector<base::FilePath>& paths); | 648 const std::vector<base::FilePath>& paths); |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 // use the Observer interface to filter IPC messages and receive frame change | 966 // use the Observer interface to filter IPC messages and receive frame change |
964 // notifications. | 967 // notifications. |
965 // --------------------------------------------------------------------------- | 968 // --------------------------------------------------------------------------- |
966 | 969 |
967 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 970 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
968 }; | 971 }; |
969 | 972 |
970 } // namespace content | 973 } // namespace content |
971 | 974 |
972 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 975 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |