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

Side by Side Diff: content/browser/web_contents/web_contents_view_mus.cc

Issue 2505113002: Drag-and-drop: Target drag messages to specific RenderWidgets. (Closed)
Patch Set: Small fix. Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "content/browser/web_contents/web_contents_view_mus.h" 5 #include "content/browser/web_contents/web_contents_view_mus.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/browser/frame_host/interstitial_page_impl.h" 8 #include "content/browser/frame_host/interstitial_page_impl.h"
9 #include "content/browser/renderer_host/render_widget_host_view_mus.h" 9 #include "content/browser/renderer_host/render_widget_host_view_mus.h"
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } 200 }
201 201
202 void WebContentsViewMus::ShowContextMenu(RenderFrameHost* render_frame_host, 202 void WebContentsViewMus::ShowContextMenu(RenderFrameHost* render_frame_host,
203 const ContextMenuParams& params) { 203 const ContextMenuParams& params) {
204 } 204 }
205 205
206 void WebContentsViewMus::StartDragging(const DropData& drop_data, 206 void WebContentsViewMus::StartDragging(const DropData& drop_data,
207 WebDragOperationsMask ops, 207 WebDragOperationsMask ops,
208 const gfx::ImageSkia& image, 208 const gfx::ImageSkia& image,
209 const gfx::Vector2d& image_offset, 209 const gfx::Vector2d& image_offset,
210 const DragEventSourceInfo& event_info) { 210 const DragEventSourceInfo& event_info,
211 RenderWidgetHostImpl* source_rwh) {
211 // TODO(fsamuel): Implement drag and drop. 212 // TODO(fsamuel): Implement drag and drop.
212 } 213 }
213 214
214 //////////////////////////////////////////////////////////////////////////////// 215 ////////////////////////////////////////////////////////////////////////////////
215 // WebContentsViewMus, aura::WindowDelegate implementation: 216 // WebContentsViewMus, aura::WindowDelegate implementation:
216 217
217 gfx::Size WebContentsViewMus::GetMinimumSize() const { 218 gfx::Size WebContentsViewMus::GetMinimumSize() const {
218 return gfx::Size(); 219 return gfx::Size();
219 } 220 }
220 221
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 261
261 void WebContentsViewMus::OnWindowTargetVisibilityChanged(bool visible) {} 262 void WebContentsViewMus::OnWindowTargetVisibilityChanged(bool visible) {}
262 263
263 bool WebContentsViewMus::HasHitTestMask() const { 264 bool WebContentsViewMus::HasHitTestMask() const {
264 return false; 265 return false;
265 } 266 }
266 267
267 void WebContentsViewMus::GetHitTestMask(gfx::Path* mask) const {} 268 void WebContentsViewMus::GetHitTestMask(gfx::Path* mask) const {}
268 269
269 } // namespace content 270 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698