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_BROWSER_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BROWSER_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 <map> | 11 #include <map> |
12 | 12 |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "chrome/browser/browser_window.h" | 16 #include "chrome/browser/browser_window.h" |
17 #include "chrome/browser/prefs/pref_member.h" | 17 #include "chrome/browser/prefs/pref_member.h" |
18 #include "chrome/browser/tabs/tab_strip_model_observer.h" | 18 #include "chrome/browser/tabs/tab_strip_model_observer.h" |
19 #include "chrome/browser/ui/gtk/infobars/infobar_arrow_model.h" | 19 #include "chrome/browser/ui/gtk/infobars/infobar_arrow_model.h" |
20 #include "chrome/common/notification_registrar.h" | 20 #include "chrome/common/notification_registrar.h" |
21 #include "gfx/rect.h" | |
22 #include "ui/base/gtk/gtk_signal.h" | 21 #include "ui/base/gtk/gtk_signal.h" |
23 #include "ui/base/x/active_window_watcher_x.h" | 22 #include "ui/base/x/active_window_watcher_x.h" |
24 #include "ui/base/x/x11_util.h" | 23 #include "ui/base/x/x11_util.h" |
| 24 #include "ui/gfx/rect.h" |
25 | 25 |
26 class BookmarkBarGtk; | 26 class BookmarkBarGtk; |
27 class Browser; | 27 class Browser; |
28 class BrowserTitlebar; | 28 class BrowserTitlebar; |
29 class BrowserToolbarGtk; | 29 class BrowserToolbarGtk; |
30 class CustomDrawButton; | 30 class CustomDrawButton; |
31 class DownloadShelfGtk; | 31 class DownloadShelfGtk; |
32 class FindBarGtk; | 32 class FindBarGtk; |
33 class FullscreenExitBubbleGtk; | 33 class FullscreenExitBubbleGtk; |
34 class InfoBarContainerGtk; | 34 class InfoBarContainerGtk; |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 484 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
485 | 485 |
486 // The model that tracks the paint state of the arrow for the infobar | 486 // The model that tracks the paint state of the arrow for the infobar |
487 // directly below the toolbar. | 487 // directly below the toolbar. |
488 InfoBarArrowModel infobar_arrow_model_; | 488 InfoBarArrowModel infobar_arrow_model_; |
489 | 489 |
490 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 490 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
491 }; | 491 }; |
492 | 492 |
493 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 493 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |