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

Unified Diff: chrome/browser/gtk/tab_contents_drag_source.h

Issue 1039006: Revert r41803 and r41799 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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: chrome/browser/gtk/tab_contents_drag_source.h
===================================================================
--- chrome/browser/gtk/tab_contents_drag_source.h (revision 41864)
+++ chrome/browser/gtk/tab_contents_drag_source.h (working copy)
@@ -9,12 +9,10 @@
#include "base/basictypes.h"
#include "base/file_path.h"
-#include "base/gfx/point.h"
#include "base/message_loop.h"
#include "base/string16.h"
#include "gfx/native_widget_types.h"
#include "googleurl/src/gurl.h"
-#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
class TabContents;
@@ -33,9 +31,7 @@
// Starts a drag for the tab contents this TabContentsDragSource was
// created for.
void StartDragging(const WebDropData& drop_data,
- GdkEventButton* last_mouse_down,
- const SkBitmap& image,
- const gfx::Point& image_offset);
+ GdkEventButton* last_mouse_down);
// MessageLoop::Observer implementation:
virtual void WillProcessEvent(GdkEvent* event);
@@ -83,11 +79,6 @@
// view). Non-NULL iff there is a current drag.
scoped_ptr<WebDropData> drop_data_;
- // The image used for depicting the drag, and the offset between the cursor
- // and the top left pixel.
- SkBitmap drag_image_;
- gfx::Point image_offset_;
-
// The mime type for the file contents of the current drag (if any).
GdkAtom drag_file_mime_type_;
« no previous file with comments | « chrome/browser/gtk/notifications/balloon_view_host_gtk.h ('k') | chrome/browser/gtk/tab_contents_drag_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698