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

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

Issue 1029004: GTK: implement extension bookmark manager drag api.... (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
« no previous file with comments | « chrome/browser/gtk/custom_drag.cc ('k') | chrome/browser/gtk/download_item_drag.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/download_item_drag.h
===================================================================
--- chrome/browser/gtk/download_item_drag.h (revision 41880)
+++ chrome/browser/gtk/download_item_drag.h (working copy)
@@ -1,43 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_GTK_DOWNLOAD_ITEM_DRAG_H_
-#define CHROME_BROWSER_GTK_DOWNLOAD_ITEM_DRAG_H_
-
-#include <gtk/gtk.h>
-
-#include "base/basictypes.h"
-
-class DownloadItem;
-class SkBitmap;
-
-class DownloadItemDrag {
- public:
- // Sets |widget| as a source for drags pertaining to |item|. No
- // DownloadItemDrag object is created.
- static void SetSource(GtkWidget* widget, DownloadItem* item);
-
- // Creates a new DownloadItemDrag, the lifetime of which is tied to the
- // system drag.
- static void BeginDrag(const DownloadItem* item, SkBitmap* icon);
-
- private:
- explicit DownloadItemDrag(const DownloadItem* item, SkBitmap* icon);
- ~DownloadItemDrag();
-
- static void OnDragBegin(GtkWidget* widget,
- GdkDragContext* drag_context,
- DownloadItemDrag* drag);
-
- static void OnDragEnd(GtkWidget* widget,
- GdkDragContext* drag_context,
- DownloadItemDrag* drag);
-
- GtkWidget* drag_widget_;
- GdkPixbuf* pixbuf_;
-
- DISALLOW_COPY_AND_ASSIGN(DownloadItemDrag);
-};
-
-#endif // CHROME_BROWSER_GTK_DOWNLOAD_ITEM_DRAG_H_
« no previous file with comments | « chrome/browser/gtk/custom_drag.cc ('k') | chrome/browser/gtk/download_item_drag.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698