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

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: comments 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 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/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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 class MouseLockDispatcher; 125 class MouseLockDispatcher;
125 class PageState; 126 class PageState;
126 class PepperPluginInstanceImpl; 127 class PepperPluginInstanceImpl;
127 class RenderViewImplTest; 128 class RenderViewImplTest;
128 class RenderViewObserver; 129 class RenderViewObserver;
129 class RenderViewTest; 130 class RenderViewTest;
130 class RendererDateTimePicker; 131 class RendererDateTimePicker;
131 class RendererWebColorChooserImpl; 132 class RendererWebColorChooserImpl;
132 class SpeechRecognitionDispatcher; 133 class SpeechRecognitionDispatcher;
133 class WebPluginDelegateProxy; 134 class WebPluginDelegateProxy;
134 struct DropData;
135 struct FaviconURL; 135 struct FaviconURL;
136 struct FileChooserParams; 136 struct FileChooserParams;
137 struct FileChooserFileInfo; 137 struct FileChooserFileInfo;
138 struct RenderViewImplParams; 138 struct RenderViewImplParams;
139 struct ResizeParams; 139 struct ResizeParams;
140 140
141 #if defined(OS_ANDROID) 141 #if defined(OS_ANDROID)
142 class WebMediaPlayerProxyAndroid; 142 class WebMediaPlayerProxyAndroid;
143 #endif 143 #endif
144 144
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 const gfx::Point& location); 645 const gfx::Point& location);
646 void OnCopyImageAt(int x, int y); 646 void OnCopyImageAt(int x, int y);
647 void OnSaveImageAt(int x, int y); 647 void OnSaveImageAt(int x, int y);
648 void OnDeterminePageLanguage(); 648 void OnDeterminePageLanguage();
649 void OnDisableScrollbarsForSmallWindows( 649 void OnDisableScrollbarsForSmallWindows(
650 const gfx::Size& disable_scrollbars_size_limit); 650 const gfx::Size& disable_scrollbars_size_limit);
651 void OnDragSourceEnded(const gfx::Point& client_point, 651 void OnDragSourceEnded(const gfx::Point& client_point,
652 const gfx::Point& screen_point, 652 const gfx::Point& screen_point,
653 blink::WebDragOperation drag_operation); 653 blink::WebDragOperation drag_operation);
654 void OnDragSourceSystemDragEnded(); 654 void OnDragSourceSystemDragEnded();
655 void OnDragTargetDrop(const gfx::Point& client_pt, 655 void OnDragTargetDrop(const DropData& drop_data,
656 const gfx::Point& client_pt,
656 const gfx::Point& screen_pt, 657 const gfx::Point& screen_pt,
657 int key_modifiers); 658 int key_modifiers);
658 void OnDragTargetDragEnter(const DropData& drop_data, 659 // Real data that is dragged is not included at DragEnter time.
659 const gfx::Point& client_pt, 660 void OnDragTargetDragEnter(
660 const gfx::Point& screen_pt, 661 const std::vector<DropData::MetaData>& drop_meta_data,
661 blink::WebDragOperationsMask operations_allowed, 662 const gfx::Point& client_pt,
662 int key_modifiers); 663 const gfx::Point& screen_pt,
664 blink::WebDragOperationsMask operations_allowed,
665 int key_modifiers);
663 void OnDragTargetDragLeave(); 666 void OnDragTargetDragLeave();
664 void OnDragTargetDragOver(const gfx::Point& client_pt, 667 void OnDragTargetDragOver(const gfx::Point& client_pt,
665 const gfx::Point& screen_pt, 668 const gfx::Point& screen_pt,
666 blink::WebDragOperationsMask operations_allowed, 669 blink::WebDragOperationsMask operations_allowed,
667 int key_modifiers); 670 int key_modifiers);
668 void OnEnablePreferredSizeChangedMode(); 671 void OnEnablePreferredSizeChangedMode();
669 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 672 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
670 void OnDisableAutoResize(const gfx::Size& new_size); 673 void OnDisableAutoResize(const gfx::Size& new_size);
671 void OnEnumerateDirectoryResponse(int id, 674 void OnEnumerateDirectoryResponse(int id,
672 const std::vector<base::FilePath>& paths); 675 const std::vector<base::FilePath>& paths);
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 // use the Observer interface to filter IPC messages and receive frame change 1026 // use the Observer interface to filter IPC messages and receive frame change
1024 // notifications. 1027 // notifications.
1025 // --------------------------------------------------------------------------- 1028 // ---------------------------------------------------------------------------
1026 1029
1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1030 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1028 }; 1031 };
1029 1032
1030 } // namespace content 1033 } // namespace content
1031 1034
1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1035 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698