summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/gtk_util.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 00:40:18 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 00:40:18 +0000
commit611b6f634dbdbc87a40810cc60f5713f4d5eb434 (patch)
tree3527b445dbc7533661085934789412f8e5a02b89 /chrome/browser/ui/gtk/gtk_util.h
parent28da5d89c77bd784454dc9a59b4ecce67346b6cc (diff)
downloadchromium_src-611b6f634dbdbc87a40810cc60f5713f4d5eb434.zip
chromium_src-611b6f634dbdbc87a40810cc60f5713f4d5eb434.tar.gz
chromium_src-611b6f634dbdbc87a40810cc60f5713f4d5eb434.tar.bz2
content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts.
This patch doesn't move web_drag_dest_gtk.cc into content/, but does remove all dependencies on chrome/ code. - Split out a delegate interface and move it - cross platform code from chrome/.../bookmark_node_data.cc is moved to ui/.../bookmark_format.h - gtk_util.cc has some layers split into gtk_screen_utils.cc. BUG=none TEST=none Review URL: http://codereview.chromium.org/8196001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/gtk_util.h')
-rw-r--r--chrome/browser/ui/gtk/gtk_util.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/ui/gtk/gtk_util.h b/chrome/browser/ui/gtk/gtk_util.h
index 7cfcfe2..6febcc4 100644
--- a/chrome/browser/ui/gtk/gtk_util.h
+++ b/chrome/browser/ui/gtk/gtk_util.h
@@ -11,7 +11,6 @@
#include <vector>
#include "base/string16.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"
@@ -134,9 +133,6 @@ void ConvertWidgetPointToScreen(GtkWidget* widget, gfx::Point* p);
GtkWidget* CenterWidgetInHBox(GtkWidget* hbox, GtkWidget* widget,
bool pack_at_end, int padding);
-// Returns true if the screen is composited, false otherwise.
-bool IsScreenComposited();
-
// Enumerates the top-level gdk windows of the current display.
void EnumerateTopLevelWindows(ui::EnumerateWindowsDelegate* delegate);
@@ -197,12 +193,6 @@ GtkWidget* IndentWidget(GtkWidget* content);
// renderers) based on GtkSettings (which itself comes from XSETTINGS).
void UpdateGtkFontSettings(RendererPreferences* prefs);
-// Get the current location of the mouse cursor relative to the screen.
-gfx::Point ScreenPoint(GtkWidget* widget);
-
-// Get the current location of the mouse cursor relative to the widget.
-gfx::Point ClientPoint(GtkWidget* widget);
-
// Reverses a point in RTL mode. Used in making vectors of GdkPoints for window
// shapes.
GdkPoint MakeBidiGdkPoint(gint x, gint y, gint width, bool ltr);
@@ -329,11 +319,6 @@ void SetLabelWidth(GtkWidget* label, int pixel_width);
// to make sure the pango can get correct font information for the calculation.
void InitLabelSizeRequestAndEllipsizeMode(GtkWidget* label);
-// Convenience methods for converting between web drag operations and the GDK
-// equivalent.
-GdkDragAction WebDragOpToGdkDragAction(WebKit::WebDragOperationsMask op);
-WebKit::WebDragOperationsMask GdkDragActionToWebDragOp(GdkDragAction action);
-
// A helper function for gtk_message_dialog_new() to work around a few KDE 3
// window manager bugs. You should always call it after creating a dialog with
// gtk_message_dialog_new.