| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_GTK_ROUNDED_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_ROUNDED_WINDOW_H_ |
| 6 #define CHROME_BROWSER_GTK_ROUNDED_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_GTK_ROUNDED_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 namespace gtk_util { | 11 namespace gtk_util { |
| 12 | 12 |
| 13 // Symbolic names for arguments to |rounded_edges| in ActAsRoundedWindow(). | 13 // Symbolic names for arguments to |rounded_edges| in ActAsRoundedWindow(). |
| 14 enum RoundedBorders { | 14 enum RoundedBorders { |
| 15 ROUNDED_NONE = 0, | 15 ROUNDED_NONE = 0, |
| 16 ROUNDED_BOTTOM_LEFT = 1 << 0, | 16 ROUNDED_BOTTOM_LEFT = 1 << 0, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 int rounded_edges, | 54 int rounded_edges, |
| 55 int drawn_borders); | 55 int drawn_borders); |
| 56 | 56 |
| 57 // Sets the color of the border on a widget that has already been configured | 57 // Sets the color of the border on a widget that has already been configured |
| 58 // with ActAsRoundedWindow(). | 58 // with ActAsRoundedWindow(). |
| 59 void SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color); | 59 void SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color); |
| 60 | 60 |
| 61 | 61 |
| 62 } // namespace gtk_util | 62 } // namespace gtk_util |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_GTK_ROUNDED_WINDOW_H_ | 64 #endif // CHROME_BROWSER_UI_GTK_ROUNDED_WINDOW_H_ |
| OLD | NEW |