| OLD | NEW |
| 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_WIDGET_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 const gfx::Point& client_pt, | 277 const gfx::Point& client_pt, |
| 278 const gfx::Point& screen_pt, | 278 const gfx::Point& screen_pt, |
| 279 blink::WebDragOperationsMask operations_allowed, | 279 blink::WebDragOperationsMask operations_allowed, |
| 280 int key_modifiers) {} | 280 int key_modifiers) {} |
| 281 virtual void DragTargetDragLeave() {} | 281 virtual void DragTargetDragLeave() {} |
| 282 virtual void DragTargetDrop(const DropData& drop_data, | 282 virtual void DragTargetDrop(const DropData& drop_data, |
| 283 const gfx::Point& client_pt, | 283 const gfx::Point& client_pt, |
| 284 const gfx::Point& screen_pt, | 284 const gfx::Point& screen_pt, |
| 285 int key_modifiers) {} | 285 int key_modifiers) {} |
| 286 | 286 |
| 287 // Notifies the renderer that a a drag operation that it started has ended, |
| 288 // either in a drop or by being cancelled. |
| 289 virtual void DragSourceEndedAt( |
| 290 int client_x, int client_y, int screen_x, int screen_y, |
| 291 blink::WebDragOperation operation) {}; |
| 292 |
| 293 // Notifies the renderer that we're done with the drag and drop operation. |
| 294 // This allows the renderer to reset some state. |
| 295 virtual void DragSourceSystemDragEnded() {}; |
| 296 |
| 287 // Filters drop data before it is passed to RenderWidgetHost. | 297 // Filters drop data before it is passed to RenderWidgetHost. |
| 288 virtual void FilterDropData(DropData* drop_data) {} | 298 virtual void FilterDropData(DropData* drop_data) {} |
| 289 }; | 299 }; |
| 290 | 300 |
| 291 } // namespace content | 301 } // namespace content |
| 292 | 302 |
| 293 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ | 303 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |