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

Unified Diff: content/port/browser/render_view_host_delegate_view.h

Issue 18281002: Move WebDropData to content::DropData and split off conversion function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build error. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/port/browser/render_view_host_delegate_view.h
diff --git a/content/port/browser/render_view_host_delegate_view.h b/content/port/browser/render_view_host_delegate_view.h
index 8b7b95320f8b5d812cd7a0e60b86069e3f30f018..375b867214da4e42bbda2d98a084ea3df638398d 100644
--- a/content/port/browser/render_view_host_delegate_view.h
+++ b/content/port/browser/render_view_host_delegate_view.h
@@ -13,7 +13,6 @@
#include "third_party/WebKit/public/web/WebDragOperation.h"
class SkBitmap;
-struct WebDropData;
struct WebMenuItem;
namespace gfx {
@@ -25,6 +24,7 @@ class Vector2d;
namespace content {
struct ContextMenuParams;
+struct DropData;
// This class provides a way for the RenderViewHost to reach out to its
// delegate's view. It only needs to be implemented by embedders if they don't
@@ -48,10 +48,10 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
// The user started dragging content of the specified type within the
// RenderView. Contextual information about the dragged content is supplied
- // by WebDropData. If the delegate's view cannot start the drag for /any/
+ // by DropData. If the delegate's view cannot start the drag for /any/
// reason, it must inform the renderer that the drag has ended; otherwise,
// this results in bugs like http://crbug.com/157134.
- virtual void StartDragging(const WebDropData& drop_data,
+ virtual void StartDragging(const DropData& drop_data,
WebKit::WebDragOperationsMask allowed_ops,
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698