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

Unified Diff: chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h
diff --git a/chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h b/chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h
deleted file mode 100644
index 93cd31c97c04b5ac87ca2611653e5f2d433384ef..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2012 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_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_
-#define CHROME_BROWSER_UI_GTK_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/bookmarks/bookmark_node_data.h"
-#include "content/public/browser/web_drag_dest_delegate.h"
-
-class BookmarkTabHelper;
-
-namespace content {
-class WebContents;
-}
-
-// Chrome needs to intercept content drag events so it can dispatch them to the
-// bookmarks and extensions system.
-class WebDragBookmarkHandlerGtk : public content::WebDragDestDelegate {
- public:
- WebDragBookmarkHandlerGtk();
- virtual ~WebDragBookmarkHandlerGtk();
-
- // Overridden from content::WebDragDestDelegate:
- virtual void DragInitialize(content::WebContents* contents) OVERRIDE;
- virtual GdkAtom GetBookmarkTargetAtom() const OVERRIDE;
- virtual void OnReceiveDataFromGtk(GtkSelectionData* data) OVERRIDE;
- virtual void OnReceiveProcessedData(const GURL& url,
- const base::string16& title) OVERRIDE;
- virtual void OnDragOver() OVERRIDE;
- virtual void OnDragEnter() OVERRIDE;
- virtual void OnDrop() OVERRIDE;
- virtual void OnDragLeave() OVERRIDE;
-
- private:
- // The BookmarkTabHelper.
- // Weak reference; may be NULL if the contents don't have a
- // BookmarkTabHelper (e.g. WebUI dialogs).
- BookmarkTabHelper* bookmark_tab_helper_;
-
- content::WebContents* web_contents_;
-
- // The bookmark data for the current tab. This will be empty if there is not
- // a native bookmark drag (or we haven't gotten the data from the source yet).
- BookmarkNodeData bookmark_drag_data_;
-
- DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerGtk);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698