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

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: fix bug Created 4 years, 8 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 15 matching lines...) Expand all
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
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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 const gfx::Point& location); 613 const gfx::Point& location);
614 void OnCopyImageAt(int x, int y); 614 void OnCopyImageAt(int x, int y);
615 void OnSaveImageAt(int x, int y); 615 void OnSaveImageAt(int x, int y);
616 void OnDeterminePageLanguage(); 616 void OnDeterminePageLanguage();
617 void OnDisableScrollbarsForSmallWindows( 617 void OnDisableScrollbarsForSmallWindows(
618 const gfx::Size& disable_scrollbars_size_limit); 618 const gfx::Size& disable_scrollbars_size_limit);
619 void OnDragSourceEnded(const gfx::Point& client_point, 619 void OnDragSourceEnded(const gfx::Point& client_point,
620 const gfx::Point& screen_point, 620 const gfx::Point& screen_point,
621 blink::WebDragOperation drag_operation); 621 blink::WebDragOperation drag_operation);
622 void OnDragSourceSystemDragEnded(); 622 void OnDragSourceSystemDragEnded();
623 void OnDragTargetDrop(const gfx::Point& client_pt, 623 void OnDragTargetDrop(const DropData& drop_data,
624 const gfx::Point& client_pt,
624 const gfx::Point& screen_pt, 625 const gfx::Point& screen_pt,
625 int key_modifiers); 626 int key_modifiers);
626 void OnDragTargetDragEnter(const DropData& drop_data, 627 // |drop_meta_data| is a vector of "mimetype" to "kind" pairs. Real data that
628 // is dragged is not included at DragEnter time.
629 void OnDragTargetDragEnter(const std::vector<MimeTypeKindPair> drop_meta_data,
627 const gfx::Point& client_pt, 630 const gfx::Point& client_pt,
628 const gfx::Point& screen_pt, 631 const gfx::Point& screen_pt,
629 blink::WebDragOperationsMask operations_allowed, 632 blink::WebDragOperationsMask operations_allowed,
630 int key_modifiers); 633 int key_modifiers);
631 void OnDragTargetDragLeave(); 634 void OnDragTargetDragLeave();
632 void OnDragTargetDragOver(const gfx::Point& client_pt, 635 void OnDragTargetDragOver(const gfx::Point& client_pt,
633 const gfx::Point& screen_pt, 636 const gfx::Point& screen_pt,
634 blink::WebDragOperationsMask operations_allowed, 637 blink::WebDragOperationsMask operations_allowed,
635 int key_modifiers); 638 int key_modifiers);
636 void OnEnablePreferredSizeChangedMode(); 639 void OnEnablePreferredSizeChangedMode();
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 // use the Observer interface to filter IPC messages and receive frame change 988 // use the Observer interface to filter IPC messages and receive frame change
986 // notifications. 989 // notifications.
987 // --------------------------------------------------------------------------- 990 // ---------------------------------------------------------------------------
988 991
989 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 992 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
990 }; 993 };
991 994
992 } // namespace content 995 } // namespace content
993 996
994 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 997 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698