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

Unified Diff: chrome/browser/ui/gtk/bookmark_utils_gtk_unittest.cc

Issue 6250014: Move more dnd related files to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/ui/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/bookmark_utils_gtk_unittest.cc
===================================================================
--- chrome/browser/ui/gtk/bookmark_utils_gtk_unittest.cc (revision 71798)
+++ chrome/browser/ui/gtk/bookmark_utils_gtk_unittest.cc (working copy)
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "app/gtk_dnd_util.h"
#include "chrome/browser/gtk/bookmark_utils_gtk.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/base/dragdrop/gtk_dnd_util.h"
TEST(BookmarkUtilsGtkTest, GetNodesFromSelectionInvalid) {
std::vector<const BookmarkNode*> nodes;
@@ -20,19 +20,19 @@
EXPECT_EQ(0u, nodes.size());
nodes = bookmark_utils::GetNodesFromSelection(NULL, NULL,
- gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
+ ui::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
EXPECT_EQ(0u, nodes.size());
data.data = NULL;
data.length = 0;
nodes = bookmark_utils::GetNodesFromSelection(NULL, &data,
- gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
+ ui::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
EXPECT_EQ(0u, nodes.size());
guchar test_data[] = "";
data.data = test_data;
data.length = 0;
nodes = bookmark_utils::GetNodesFromSelection(NULL, &data,
- gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
+ ui::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
EXPECT_EQ(0u, nodes.size());
}
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698