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 <string> |
12 | 12 |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/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/infobars/infobar_container.h" | 16 #include "chrome/browser/infobars/infobar_container.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/browser_window.h" | 19 #include "chrome/browser/ui/browser_window.h" |
20 #include "ui/base/gtk/gtk_signal.h" | 20 #include "ui/base/gtk/gtk_signal.h" |
21 #include "ui/base/ui_base_types.h" | 21 #include "ui/base/ui_base_types.h" |
22 #include "ui/base/x/active_window_watcher_x.h" | 22 #include "ui/base/x/active_window_watcher_x.h" |
23 #include "ui/base/x/x11_util.h" | 23 #include "ui/base/x/x11_util.h" |
24 #include "ui/gfx/rect.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; | |
31 class DownloadShelfGtk; | 30 class DownloadShelfGtk; |
32 class FindBarGtk; | 31 class FindBarGtk; |
33 class FullscreenExitBubbleGtk; | 32 class FullscreenExitBubbleGtk; |
34 class GlobalMenuBar; | 33 class GlobalMenuBar; |
35 class InfoBarContainerGtk; | 34 class InfoBarContainerGtk; |
36 class LocationBar; | 35 class LocationBar; |
37 class StatusBubbleGtk; | 36 class StatusBubbleGtk; |
38 class TabContentsContainerGtk; | 37 class TabContentsContainerGtk; |
39 class TabStripGtk; | 38 class TabStripGtk; |
40 | 39 |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // be called. This should only be enabled in tests where the debounce timeout | 521 // be called. This should only be enabled in tests where the debounce timeout |
523 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
524 // autocomplete popup before the results can be read) and the final window | 523 // autocomplete popup before the results can be read) and the final window |
525 // position is unimportant. | 524 // position is unimportant. |
526 bool debounce_timer_disabled_; | 525 bool debounce_timer_disabled_; |
527 | 526 |
528 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
529 }; | 528 }; |
530 | 529 |
531 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 530 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |