OLD | NEW |
1 // Copyright (c) 2011 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_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include "app/gtk_signal.h" | |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/task.h" | 12 #include "base/task.h" |
14 #include "chrome/browser/tab_contents/constrained_window.h" | 13 #include "chrome/browser/tab_contents/constrained_window.h" |
15 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 14 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
| 15 #include "ui/base/gtk/gtk_signal.h" |
16 | 16 |
17 class TabContents; | 17 class TabContents; |
18 typedef struct _GdkColor GdkColor; | 18 typedef struct _GdkColor GdkColor; |
19 #if defined(TOUCH_UI) | 19 #if defined(TOUCH_UI) |
20 class TabContentsViewViews; | 20 class TabContentsViewViews; |
21 #else | 21 #else |
22 class TabContentsViewGtk; | 22 class TabContentsViewGtk; |
23 #endif | 23 #endif |
24 | 24 |
25 class ConstrainedWindowGtkDelegate { | 25 class ConstrainedWindowGtkDelegate { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 // Stores if |ShowConstrainedWindow()| has been called. | 85 // Stores if |ShowConstrainedWindow()| has been called. |
86 bool visible_; | 86 bool visible_; |
87 | 87 |
88 ScopedRunnableMethodFactory<ConstrainedWindowGtk> factory_; | 88 ScopedRunnableMethodFactory<ConstrainedWindowGtk> factory_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowGtk); | 90 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowGtk); |
91 }; | 91 }; |
92 | 92 |
93 #endif // CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ | 93 #endif // CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ |
OLD | NEW |