summaryrefslogtreecommitdiffstats
path: root/chrome/common/gtk_util.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-10 20:10:15 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-10 20:10:15 +0000
commitb2ba996f96dfd3bde403fce818258d97e3ca8002 (patch)
tree36f4f264fc2c8af5e6695ef31ac78afb7ebdc5c2 /chrome/common/gtk_util.h
parent92b24c11f42b31158cca43921eac16f33c98839c (diff)
downloadchromium_src-b2ba996f96dfd3bde403fce818258d97e3ca8002.zip
chromium_src-b2ba996f96dfd3bde403fce818258d97e3ca8002.tar.gz
chromium_src-b2ba996f96dfd3bde403fce818258d97e3ca8002.tar.bz2
GTK: hook up drag and drop of browser actions (for reordering).
The changes are propagated across open chrome windows, but are not persisted between sessions yet. BUG=26990 Review URL: http://codereview.chromium.org/463056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r--chrome/common/gtk_util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index 7c10ce3..7484f48 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -203,6 +203,15 @@ gfx::Rect GetWidgetRectRelativeToToplevel(GtkWidget* widget);
// gtk_message_dialog_new.
void ApplyMessageDialogQuirks(GtkWidget* dialog);
+// Don't allow the widget to paint anything, and instead propagate the expose
+// to its children. This is similar to calling
+//
+// gtk_widget_set_app_paintable(container, TRUE);
+//
+// except that it will always work, and it should be called after any custom
+// expose events are connected.
+void SuppressDefaultPainting(GtkWidget* container);
+
} // namespace gtk_util
#endif // CHROME_COMMON_GTK_UTIL_H_