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

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 chromeos compile + interactive test Created 4 years, 6 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 const gfx::Point& location); 621 const gfx::Point& location);
622 void OnCopyImageAt(int x, int y); 622 void OnCopyImageAt(int x, int y);
623 void OnSaveImageAt(int x, int y); 623 void OnSaveImageAt(int x, int y);
624 void OnDeterminePageLanguage(); 624 void OnDeterminePageLanguage();
625 void OnDisableScrollbarsForSmallWindows( 625 void OnDisableScrollbarsForSmallWindows(
626 const gfx::Size& disable_scrollbars_size_limit); 626 const gfx::Size& disable_scrollbars_size_limit);
627 void OnDragSourceEnded(const gfx::Point& client_point, 627 void OnDragSourceEnded(const gfx::Point& client_point,
628 const gfx::Point& screen_point, 628 const gfx::Point& screen_point,
629 blink::WebDragOperation drag_operation); 629 blink::WebDragOperation drag_operation);
630 void OnDragSourceSystemDragEnded(); 630 void OnDragSourceSystemDragEnded();
631 void OnDragTargetDrop(const gfx::Point& client_pt, 631 void OnDragTargetDrop(const DropData& drop_data,
632 const gfx::Point& client_pt,
632 const gfx::Point& screen_pt, 633 const gfx::Point& screen_pt,
633 int key_modifiers); 634 int key_modifiers);
634 void OnDragTargetDragEnter(const DropData& drop_data, 635 // Real data that is dragged is not included at DragEnter time.
635 const gfx::Point& client_pt, 636 void OnDragTargetDragEnter(
636 const gfx::Point& screen_pt, 637 const std::vector<DropData::Metadata>& drop_meta_data,
637 blink::WebDragOperationsMask operations_allowed, 638 const gfx::Point& client_pt,
638 int key_modifiers); 639 const gfx::Point& screen_pt,
640 blink::WebDragOperationsMask operations_allowed,
641 int key_modifiers);
639 void OnDragTargetDragLeave(); 642 void OnDragTargetDragLeave();
640 void OnDragTargetDragOver(const gfx::Point& client_pt, 643 void OnDragTargetDragOver(const gfx::Point& client_pt,
641 const gfx::Point& screen_pt, 644 const gfx::Point& screen_pt,
642 blink::WebDragOperationsMask operations_allowed, 645 blink::WebDragOperationsMask operations_allowed,
643 int key_modifiers); 646 int key_modifiers);
644 void OnEnablePreferredSizeChangedMode(); 647 void OnEnablePreferredSizeChangedMode();
645 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 648 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
646 void OnDisableAutoResize(const gfx::Size& new_size); 649 void OnDisableAutoResize(const gfx::Size& new_size);
647 void OnEnumerateDirectoryResponse(int id, 650 void OnEnumerateDirectoryResponse(int id,
648 const std::vector<base::FilePath>& paths); 651 const std::vector<base::FilePath>& paths);
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 // use the Observer interface to filter IPC messages and receive frame change 972 // use the Observer interface to filter IPC messages and receive frame change
970 // notifications. 973 // notifications.
971 // --------------------------------------------------------------------------- 974 // ---------------------------------------------------------------------------
972 975
973 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 976 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
974 }; 977 };
975 978
976 } // namespace content 979 } // namespace content
977 980
978 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 981 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698