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

Side by Side Diff: chrome/browser/ui/gtk/gtk_window_util.h

Issue 10831226: Panels refactor: Support browserless panels on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback changes Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/gtk_util.cc ('k') | chrome/browser/ui/gtk/gtk_window_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_GTK_GTK_WINDOW_UTIL_H_
6 #define CHROME_BROWSER_UI_GTK_GTK_WINDOW_UTIL_H_
7
8 #include <gtk/gtk.h>
9
10 namespace content {
11 class WebContents;
12 }
13
14 namespace gtk_util {
Evan Stade 2012/08/10 21:16:59 consider giving this namespace a unique name.
jennb 2012/08/11 05:07:20 Done.
15
16 // Performs Cut/Copy/Paste operation on the |window|'s |web_contents|.
17 void DoCut(GtkWindow* window, content::WebContents* web_contents);
18 void DoCopy(GtkWindow* window, content::WebContents* web_contents);
19 void DoPaste(GtkWindow* window, content::WebContents* web_contents);
20
21 // Ubuntu patches their version of GTK+ to that there is always a
22 // gripper in the bottom right corner of the window. We always need to
23 // disable this feature since we can't communicate this to WebKit easily.
24 void DisableResizeGrip(GtkWindow* window);
25
26 // Returns the resize cursor corresponding to the window |edge|.
27 GdkCursorType GdkWindowEdgeToGdkCursorType(GdkWindowEdge edge);
28
29 } // namespace gtk_util
30
31 #endif // CHROME_BROWSER_UI_GTK_GTK_WINDOW_UTIL_H_
32
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_util.cc ('k') | chrome/browser/ui/gtk/gtk_window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698