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

Unified Diff: chrome/browser/ui/gtk/bookmarks/bookmark_drag.h

Issue 23743003: gtk: Fold bookmark_drag.* into bookmark_drag_drop_gtk.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_drag.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/bookmarks/bookmark_drag.h
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_drag.h b/chrome/browser/ui/gtk/bookmarks/bookmark_drag.h
deleted file mode 100644
index 0ca1f848713af58eda08db50e3b4426732870c52..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_drag.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2013 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_UI_GTK_BOOKMARKS_BOOKMARK_DRAG_H_
-#define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_DRAG_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/ui/gtk/custom_drag.h"
-
-class BookmarkNode;
-class Profile;
-
-// Encapsulates functionality for drags of one or more bookmarks.
-class BookmarkDrag : public CustomDrag {
- public:
- // Creates a new BookmarkDrag, the lifetime of which is tied to the system
- // drag.
- static void BeginDrag(Profile* profile,
- const std::vector<const BookmarkNode*>& nodes);
-
- private:
- BookmarkDrag(Profile* profile, const std::vector<const BookmarkNode*>& nodes);
- virtual ~BookmarkDrag();
-
- virtual void OnDragDataGet(GtkWidget* widget,
- GdkDragContext* context,
- GtkSelectionData* selection_data,
- guint target_type,
- guint time) OVERRIDE;
-
- Profile* profile_;
- std::vector<const BookmarkNode*> nodes_;
-
- DISALLOW_COPY_AND_ASSIGN(BookmarkDrag);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_DRAG_H_
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_drag.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698