Index: chrome/browser/ui/gtk/gtk_util.h |
diff --git a/chrome/browser/ui/gtk/gtk_util.h b/chrome/browser/ui/gtk/gtk_util.h |
index 75d7ee35af74506489364784e1d0ba96b16a8cef..ffc719152ec995b583d46db9cf07566fec35b01e 100644 |
--- a/chrome/browser/ui/gtk/gtk_util.h |
+++ b/chrome/browser/ui/gtk/gtk_util.h |
@@ -28,6 +28,10 @@ namespace gfx { |
class Image; |
} |
+namespace content { |
+class WebContents; |
+} |
+ |
namespace gtk_util { |
// Create a table of labeled controls, using proper spacing and alignment. |
@@ -308,10 +312,17 @@ void InitLabelSizeRequestAndEllipsizeMode(GtkWidget* label); |
// gtk_message_dialog_new. |
void ApplyMessageDialogQuirks(GtkWidget* dialog); |
-// Performs Cut/Copy/Paste operation on the |window|. |
-void DoCut(BrowserWindow* window); |
-void DoCopy(BrowserWindow* window); |
-void DoPaste(BrowserWindow* window); |
+// Performs Cut/Copy/Paste operation on the |window|'s |web_contents|. |
+void DoCut(GtkWindow* window, content::WebContents* web_contents); |
+void DoCopy(GtkWindow* window, content::WebContents* web_contents); |
+void DoPaste(GtkWindow* window, content::WebContents* web_contents); |
+ |
+// Ubuntu patches their version of GTK+ to that there is always a |
+// gripper in the bottom right corner of the window. We always need to |
+// disable this feature since we can't communicate this to WebKit easily. |
+void DisableResizeGrip(GtkWindow* window); |
+ |
+GdkCursorType GdkWindowEdgeToGdkCursorType(GdkWindowEdge edge); |
jianli
2012/08/09 00:52:51
nit: add comment. I have no problem to understand
jennb
2012/08/10 18:45:42
Done.
|
} // namespace gtk_util |