| 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 "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/task.h" | |
| 15 #include "chrome/browser/ui/constrained_window.h" | 14 #include "chrome/browser/ui/constrained_window.h" |
| 16 #include "ui/base/gtk/gtk_signal.h" | 15 #include "ui/base/gtk/gtk_signal.h" |
| 17 #include "ui/base/gtk/owned_widget_gtk.h" | 16 #include "ui/base/gtk/owned_widget_gtk.h" |
| 18 | 17 |
| 19 class TabContentsWrapper; | 18 class TabContentsWrapper; |
| 20 typedef struct _GdkColor GdkColor; | 19 typedef struct _GdkColor GdkColor; |
| 21 #if defined(TOOLKIT_VIEWS) | 20 #if defined(TOOLKIT_VIEWS) |
| 22 class NativeTabContentsViewGtk; | 21 class NativeTabContentsViewGtk; |
| 23 #else | 22 #else |
| 24 class ChromeTabContentsViewWrapperGtk; | 23 class ChromeTabContentsViewWrapperGtk; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 93 |
| 95 // Stores if |ShowConstrainedWindow()| has been called. | 94 // Stores if |ShowConstrainedWindow()| has been called. |
| 96 bool visible_; | 95 bool visible_; |
| 97 | 96 |
| 98 base::WeakPtrFactory<ConstrainedWindowGtk> weak_factory_; | 97 base::WeakPtrFactory<ConstrainedWindowGtk> weak_factory_; |
| 99 | 98 |
| 100 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowGtk); | 99 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowGtk); |
| 101 }; | 100 }; |
| 102 | 101 |
| 103 #endif // CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ | 102 #endif // CHROME_BROWSER_UI_GTK_CONSTRAINED_WINDOW_GTK_H_ |
| OLD | NEW |