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

Unified Diff: chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc

Issue 8196001: content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix viewgtk compile Created 9 years, 2 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/tab_contents/web_drag_dest_gtk_unittest.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
index 9d7cc33736c308bb94032336be57de4335a1615a..65083d5530250a6b391c619ba73eebbc79b32dd8 100644
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
@@ -17,6 +17,7 @@
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "ui/base/dragdrop/gtk_dnd_util.h"
#include "ui/base/gtk/gtk_hig_constants.h"
+#include "ui/base/gtk/gtk_screen_utils.h"
#include "ui/base/text/text_elider.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/canvas_skia_paint.h"
@@ -182,7 +183,7 @@ GtkWidget* GetDragRepresentation(GdkPixbuf* pixbuf,
GtkThemeService* provider) {
GtkWidget* window = gtk_window_new(GTK_WINDOW_POPUP);
- if (gtk_util::IsScreenComposited() &&
+ if (ui::IsScreenComposited() &&
gtk_util::AddWindowAlphaChannel(window)) {
DragRepresentationData* data = new DragRepresentationData(
pixbuf, title,
« no previous file with comments | « chrome/browser/tab_contents/web_drag_dest_gtk_unittest.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698