Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 16 matching lines...) Expand all
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/page_message_enums.h" 35 #include "content/common/page_message_enums.h"
36 #include "content/common/view_message_enums.h" 36 #include "content/common/view_message_enums.h"
37 #include "content/public/common/drop_data.h"
37 #include "content/public/common/page_zoom.h" 38 #include "content/public/common/page_zoom.h"
38 #include "content/public/common/referrer.h" 39 #include "content/public/common/referrer.h"
39 #include "content/public/common/renderer_preferences.h" 40 #include "content/public/common/renderer_preferences.h"
40 #include "content/public/common/top_controls_state.h" 41 #include "content/public/common/top_controls_state.h"
41 #include "content/public/common/web_preferences.h" 42 #include "content/public/common/web_preferences.h"
42 #include "content/public/renderer/render_view.h" 43 #include "content/public/renderer/render_view.h"
43 #include "content/renderer/mouse_lock_dispatcher.h" 44 #include "content/renderer/mouse_lock_dispatcher.h"
44 #include "content/renderer/render_frame_impl.h" 45 #include "content/renderer/render_frame_impl.h"
45 #include "content/renderer/render_widget.h" 46 #include "content/renderer/render_widget.h"
46 #include "content/renderer/render_widget_owner_delegate.h" 47 #include "content/renderer/render_widget_owner_delegate.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 const gfx::Point& location); 646 const gfx::Point& location);
647 void OnCopyImageAt(int x, int y); 647 void OnCopyImageAt(int x, int y);
648 void OnSaveImageAt(int x, int y); 648 void OnSaveImageAt(int x, int y);
649 void OnDeterminePageLanguage(); 649 void OnDeterminePageLanguage();
650 void OnDisableScrollbarsForSmallWindows( 650 void OnDisableScrollbarsForSmallWindows(
651 const gfx::Size& disable_scrollbars_size_limit); 651 const gfx::Size& disable_scrollbars_size_limit);
652 void OnDragSourceEnded(const gfx::Point& client_point, 652 void OnDragSourceEnded(const gfx::Point& client_point,
653 const gfx::Point& screen_point, 653 const gfx::Point& screen_point,
654 blink::WebDragOperation drag_operation); 654 blink::WebDragOperation drag_operation);
655 void OnDragSourceSystemDragEnded(); 655 void OnDragSourceSystemDragEnded();
656 void OnDragTargetDrop(const gfx::Point& client_pt, 656 void OnDragTargetDrop(const DropData& drop_data,
657 const gfx::Point& client_pt,
657 const gfx::Point& screen_pt, 658 const gfx::Point& screen_pt,
658 int key_modifiers); 659 int key_modifiers);
659 void OnDragTargetDragEnter(const DropData& drop_data, 660 // |drop_meta_data| is a vector of "mimetype" to "kind" pairs. Real data that
660 const gfx::Point& client_pt, 661 // is dragged is not included at DragEnter time.
661 const gfx::Point& screen_pt, 662 void OnDragTargetDragEnter(
662 blink::WebDragOperationsMask operations_allowed, 663 const std::vector<MimeTypeKindPair>& drop_meta_data,
663 int key_modifiers); 664 const gfx::Point& client_pt,
665 const gfx::Point& screen_pt,
666 blink::WebDragOperationsMask operations_allowed,
667 int key_modifiers);
664 void OnDragTargetDragLeave(); 668 void OnDragTargetDragLeave();
665 void OnDragTargetDragOver(const gfx::Point& client_pt, 669 void OnDragTargetDragOver(const gfx::Point& client_pt,
666 const gfx::Point& screen_pt, 670 const gfx::Point& screen_pt,
667 blink::WebDragOperationsMask operations_allowed, 671 blink::WebDragOperationsMask operations_allowed,
668 int key_modifiers); 672 int key_modifiers);
669 void OnEnablePreferredSizeChangedMode(); 673 void OnEnablePreferredSizeChangedMode();
670 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 674 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
671 void OnDisableAutoResize(const gfx::Size& new_size); 675 void OnDisableAutoResize(const gfx::Size& new_size);
672 void OnEnumerateDirectoryResponse(int id, 676 void OnEnumerateDirectoryResponse(int id,
673 const std::vector<base::FilePath>& paths); 677 const std::vector<base::FilePath>& paths);
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 // use the Observer interface to filter IPC messages and receive frame change 1028 // use the Observer interface to filter IPC messages and receive frame change
1025 // notifications. 1029 // notifications.
1026 // --------------------------------------------------------------------------- 1030 // ---------------------------------------------------------------------------
1027 1031
1028 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1032 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1029 }; 1033 };
1030 1034
1031 } // namespace content 1035 } // namespace content
1032 1036
1033 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1037 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698