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

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: review 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
« no previous file with comments | « content/public/common/drop_data.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/render_frame_impl.h" 43 #include "content/renderer/render_frame_impl.h"
43 #include "content/renderer/render_widget.h" 44 #include "content/renderer/render_widget.h"
44 #include "content/renderer/render_widget_owner_delegate.h" 45 #include "content/renderer/render_widget_owner_delegate.h"
45 #include "content/renderer/stats_collection_observer.h" 46 #include "content/renderer/stats_collection_observer.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 class HistoryController; 122 class HistoryController;
122 class HistoryEntry; 123 class HistoryEntry;
123 class PageState; 124 class PageState;
124 class RenderViewImplTest; 125 class RenderViewImplTest;
125 class RenderViewObserver; 126 class RenderViewObserver;
126 class RenderViewTest; 127 class RenderViewTest;
127 class RendererDateTimePicker; 128 class RendererDateTimePicker;
128 class RendererWebColorChooserImpl; 129 class RendererWebColorChooserImpl;
129 class SpeechRecognitionDispatcher; 130 class SpeechRecognitionDispatcher;
130 class WebPluginDelegateProxy; 131 class WebPluginDelegateProxy;
131 struct DropData;
132 struct FaviconURL; 132 struct FaviconURL;
133 struct FileChooserParams; 133 struct FileChooserParams;
134 struct FileChooserFileInfo; 134 struct FileChooserFileInfo;
135 struct RenderViewImplParams; 135 struct RenderViewImplParams;
136 struct ResizeParams; 136 struct ResizeParams;
137 137
138 #if defined(OS_ANDROID) 138 #if defined(OS_ANDROID)
139 class WebMediaPlayerProxyAndroid; 139 class WebMediaPlayerProxyAndroid;
140 #endif 140 #endif
141 141
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 const gfx::Point& location); 610 const gfx::Point& location);
611 void OnCopyImageAt(int x, int y); 611 void OnCopyImageAt(int x, int y);
612 void OnSaveImageAt(int x, int y); 612 void OnSaveImageAt(int x, int y);
613 void OnDeterminePageLanguage(); 613 void OnDeterminePageLanguage();
614 void OnDisableScrollbarsForSmallWindows( 614 void OnDisableScrollbarsForSmallWindows(
615 const gfx::Size& disable_scrollbars_size_limit); 615 const gfx::Size& disable_scrollbars_size_limit);
616 void OnDragSourceEnded(const gfx::Point& client_point, 616 void OnDragSourceEnded(const gfx::Point& client_point,
617 const gfx::Point& screen_point, 617 const gfx::Point& screen_point,
618 blink::WebDragOperation drag_operation); 618 blink::WebDragOperation drag_operation);
619 void OnDragSourceSystemDragEnded(); 619 void OnDragSourceSystemDragEnded();
620 void OnDragTargetDrop(const gfx::Point& client_pt, 620 void OnDragTargetDrop(const DropData& drop_data,
621 const gfx::Point& client_pt,
621 const gfx::Point& screen_pt, 622 const gfx::Point& screen_pt,
622 int key_modifiers); 623 int key_modifiers);
623 void OnDragTargetDragEnter(const DropData& drop_data, 624 // Real data that is dragged is not included at DragEnter time.
624 const gfx::Point& client_pt, 625 void OnDragTargetDragEnter(
625 const gfx::Point& screen_pt, 626 const std::vector<DropData::Metadata>& drop_meta_data,
626 blink::WebDragOperationsMask operations_allowed, 627 const gfx::Point& client_pt,
627 int key_modifiers); 628 const gfx::Point& screen_pt,
629 blink::WebDragOperationsMask operations_allowed,
630 int key_modifiers);
628 void OnDragTargetDragLeave(); 631 void OnDragTargetDragLeave();
629 void OnDragTargetDragOver(const gfx::Point& client_pt, 632 void OnDragTargetDragOver(const gfx::Point& client_pt,
630 const gfx::Point& screen_pt, 633 const gfx::Point& screen_pt,
631 blink::WebDragOperationsMask operations_allowed, 634 blink::WebDragOperationsMask operations_allowed,
632 int key_modifiers); 635 int key_modifiers);
633 void OnEnablePreferredSizeChangedMode(); 636 void OnEnablePreferredSizeChangedMode();
634 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 637 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
635 void OnDisableAutoResize(const gfx::Size& new_size); 638 void OnDisableAutoResize(const gfx::Size& new_size);
636 void OnEnumerateDirectoryResponse(int id, 639 void OnEnumerateDirectoryResponse(int id,
637 const std::vector<base::FilePath>& paths); 640 const std::vector<base::FilePath>& paths);
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 // use the Observer interface to filter IPC messages and receive frame change 948 // use the Observer interface to filter IPC messages and receive frame change
946 // notifications. 949 // notifications.
947 // --------------------------------------------------------------------------- 950 // ---------------------------------------------------------------------------
948 951
949 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 952 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
950 }; 953 };
951 954
952 } // namespace content 955 } // namespace content
953 956
954 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 957 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/common/drop_data.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698