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

Unified Diff: content/browser/web_contents/web_contents_view_guest.cc

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
Index: content/browser/web_contents/web_contents_view_guest.cc
diff --git a/content/browser/web_contents/web_contents_view_guest.cc b/content/browser/web_contents/web_contents_view_guest.cc
index df142e39239917470c4005a8b04c4fadc9376516..5a2b81e6b3eb3f5cf349db2d454a3623ed0ad2b7 100644
--- a/content/browser/web_contents/web_contents_view_guest.cc
+++ b/content/browser/web_contents/web_contents_view_guest.cc
@@ -15,11 +15,11 @@
#include "content/common/drag_messages.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/common/context_menu_params.h"
+#include "content/public/common/drop_data.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"
-#include "webkit/common/webdropdata.h"
using WebKit::WebDragOperation;
using WebKit::WebDragOperationsMask;
@@ -166,7 +166,7 @@ void WebContentsViewGuest::StoreFocus() {
platform_view_->StoreFocus();
}
-WebDropData* WebContentsViewGuest::GetDropData() const {
+DropData* WebContentsViewGuest::GetDropData() const {
NOTIMPLEMENTED();
return NULL;
}
@@ -204,7 +204,7 @@ void WebContentsViewGuest::ShowPopupMenu(const gfx::Rect& bounds,
}
void WebContentsViewGuest::StartDragging(
- const WebDropData& drop_data,
+ const DropData& drop_data,
WebDragOperationsMask ops,
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
« no previous file with comments | « content/browser/web_contents/web_contents_view_guest.h ('k') | content/browser/web_contents/web_contents_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698