| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_UI_LIBGTKUI_GTK_UTIL_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_GTK_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK_UTIL_H_ | 6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK_UTIL_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "ui/native_theme/native_theme.h" | 11 #include "ui/native_theme/native_theme.h" |
| 12 | 12 |
| 13 class SkBitmap; | |
| 14 | |
| 15 namespace aura { | 13 namespace aura { |
| 16 class Window; | 14 class Window; |
| 17 } | 15 } |
| 18 | 16 |
| 19 namespace base { | 17 namespace base { |
| 20 class CommandLine; | 18 class CommandLine; |
| 21 class Environment; | 19 class Environment; |
| 22 } | 20 } |
| 23 | 21 |
| 24 namespace ui { | 22 namespace ui { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 49 | 47 |
| 50 // Gets the transient parent aura window for |dialog|. | 48 // Gets the transient parent aura window for |dialog|. |
| 51 aura::Window* GetAuraTransientParent(GtkWidget* dialog); | 49 aura::Window* GetAuraTransientParent(GtkWidget* dialog); |
| 52 | 50 |
| 53 // Clears the transient parent for |dialog|. | 51 // Clears the transient parent for |dialog|. |
| 54 void ClearAuraTransientParent(GtkWidget* dialog); | 52 void ClearAuraTransientParent(GtkWidget* dialog); |
| 55 | 53 |
| 56 } // namespace libgtkui | 54 } // namespace libgtkui |
| 57 | 55 |
| 58 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK_UTIL_H_ | 56 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK_UTIL_H_ |
| OLD | NEW |