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 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 const content::NotificationSource& source, | 158 const content::NotificationSource& source, |
159 const content::NotificationDetails& details); | 159 const content::NotificationDetails& details); |
160 | 160 |
161 // Overridden from TabStripModelObserver: | 161 // Overridden from TabStripModelObserver: |
162 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 162 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
163 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, | 163 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, |
164 TabContentsWrapper* new_contents, | 164 TabContentsWrapper* new_contents, |
165 int index, | 165 int index, |
166 bool user_gesture); | 166 bool user_gesture); |
167 | 167 |
168 // Overridden from ActiveWindowWatcher::Observer. | 168 // Overridden from ActiveWindowWatcherX::Observer. |
169 virtual void ActiveWindowChanged(GdkWindow* active_window); | 169 virtual void ActiveWindowChanged(GdkWindow* active_window); |
170 | 170 |
171 // Overridden from InfoBarContainer::Delegate: | 171 // Overridden from InfoBarContainer::Delegate: |
172 virtual SkColor GetInfoBarSeparatorColor() const; | 172 virtual SkColor GetInfoBarSeparatorColor() const; |
173 virtual void InfoBarContainerStateChanged(bool is_animating); | 173 virtual void InfoBarContainerStateChanged(bool is_animating); |
174 virtual bool DrawInfoBarArrows(int* x) const; | 174 virtual bool DrawInfoBarArrows(int* x) const; |
175 | 175 |
176 // Accessor for the tab strip. | 176 // Accessor for the tab strip. |
177 TabStripGtk* tabstrip() const { return tabstrip_.get(); } | 177 TabStripGtk* tabstrip() const { return tabstrip_.get(); } |
178 | 178 |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // 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 |
522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
523 // 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 |
524 // position is unimportant. | 524 // position is unimportant. |
525 bool debounce_timer_disabled_; | 525 bool debounce_timer_disabled_; |
526 | 526 |
527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
528 }; | 528 }; |
529 | 529 |
530 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 530 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |