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

Side by Side Diff: content/public/browser/render_view_host.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile on aura 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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 const gfx::Point& client_pt, 135 const gfx::Point& client_pt,
136 const gfx::Point& screen_pt, 136 const gfx::Point& screen_pt,
137 blink::WebDragOperationsMask operations_allowed, 137 blink::WebDragOperationsMask operations_allowed,
138 int key_modifiers) = 0; 138 int key_modifiers) = 0;
139 virtual void DragTargetDragOver( 139 virtual void DragTargetDragOver(
140 const gfx::Point& client_pt, 140 const gfx::Point& client_pt,
141 const gfx::Point& screen_pt, 141 const gfx::Point& screen_pt,
142 blink::WebDragOperationsMask operations_allowed, 142 blink::WebDragOperationsMask operations_allowed,
143 int key_modifiers) = 0; 143 int key_modifiers) = 0;
144 virtual void DragTargetDragLeave() = 0; 144 virtual void DragTargetDragLeave() = 0;
145 virtual void DragTargetDrop(const gfx::Point& client_pt, 145 virtual void DragTargetDrop(const DropData& drop_data,
146 const gfx::Point& client_pt,
146 const gfx::Point& screen_pt, 147 const gfx::Point& screen_pt,
147 int key_modifiers) = 0; 148 int key_modifiers) = 0;
149 virtual void FilterDropData(DropData* drop_data) = 0;
148 150
149 // Instructs the RenderView to automatically resize and send back updates 151 // Instructs the RenderView to automatically resize and send back updates
150 // for the new size. 152 // for the new size.
151 virtual void EnableAutoResize(const gfx::Size& min_size, 153 virtual void EnableAutoResize(const gfx::Size& min_size,
152 const gfx::Size& max_size) = 0; 154 const gfx::Size& max_size) = 0;
153 155
154 // Turns off auto-resize and gives a new size that the view should be. 156 // Turns off auto-resize and gives a new size that the view should be.
155 virtual void DisableAutoResize(const gfx::Size& new_size) = 0; 157 virtual void DisableAutoResize(const gfx::Size& new_size) = 0;
156 158
157 // Instructs the RenderView to send back updates to the preferred size. 159 // Instructs the RenderView to send back updates to the preferred size.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 220
219 private: 221 private:
220 // This interface should only be implemented inside content. 222 // This interface should only be implemented inside content.
221 friend class RenderViewHostImpl; 223 friend class RenderViewHostImpl;
222 RenderViewHost() {} 224 RenderViewHost() {}
223 }; 225 };
224 226
225 } // namespace content 227 } // namespace content
226 228
227 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 229 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698