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

Side by Side Diff: chrome/common/gtk_util.h

Issue 155672: Set window icon on options dialog, bookmark manager.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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/gtk/options/options_window_gtk.cc ('k') | chrome/common/gtk_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
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_GTK_UTIL_H_ 5 #ifndef CHROME_COMMON_GTK_UTIL_H_
6 #define CHROME_COMMON_GTK_UTIL_H_ 6 #define CHROME_COMMON_GTK_UTIL_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // the original value is returned unchanged. 117 // the original value is returned unchanged.
118 int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds); 118 int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds);
119 119
120 // Returns the mirrored x value for the point |x| if the layout is RTL; 120 // Returns the mirrored x value for the point |x| if the layout is RTL;
121 // otherwise, the original value is returned unchanged. 121 // otherwise, the original value is returned unchanged.
122 int MirroredXCoordinate(GtkWidget* widget, int x); 122 int MirroredXCoordinate(GtkWidget* widget, int x);
123 123
124 // Returns true if the pointer is currently inside the widget. 124 // Returns true if the pointer is currently inside the widget.
125 bool WidgetContainsCursor(GtkWidget* widget); 125 bool WidgetContainsCursor(GtkWidget* widget);
126 126
127 // Sets the icon of |window| to the product icon (potentially used in window
128 // border or alt-tab list).
129 void SetWindowIcon(GtkWindow* window);
130
127 } // namespace gtk_util 131 } // namespace gtk_util
128 132
129 #endif // CHROME_COMMON_GTK_UTIL_H_ 133 #endif // CHROME_COMMON_GTK_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/options_window_gtk.cc ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698