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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 136 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
137 const gfx::Rect& bounds); | 137 const gfx::Rect& bounds); |
138 | 138 |
139 // Overridden from NotificationObserver: | 139 // Overridden from NotificationObserver: |
140 virtual void Observe(NotificationType type, | 140 virtual void Observe(NotificationType type, |
141 const NotificationSource& source, | 141 const NotificationSource& source, |
142 const NotificationDetails& details); | 142 const NotificationDetails& details); |
143 | 143 |
144 // Overridden from TabStripModelObserver: | 144 // Overridden from TabStripModelObserver: |
145 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 145 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
146 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 146 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, |
147 TabContentsWrapper* new_contents, | 147 TabContentsWrapper* new_contents, |
148 int index, | 148 int index, |
149 bool user_gesture); | 149 bool user_gesture); |
150 | 150 |
151 // Overridden from ActiveWindowWatcher::Observer. | 151 // Overridden from ActiveWindowWatcher::Observer. |
152 virtual void ActiveWindowChanged(GdkWindow* active_window); | 152 virtual void ActiveWindowChanged(GdkWindow* active_window); |
153 | 153 |
154 // Overridden from InfoBarArrowModel::Observer. | 154 // Overridden from InfoBarArrowModel::Observer. |
155 virtual void PaintStateChanged(); | 155 virtual void PaintStateChanged(); |
156 | 156 |
157 // Accessor for the tab strip. | 157 // Accessor for the tab strip. |
158 TabStripGtk* tabstrip() const { return tabstrip_.get(); } | 158 TabStripGtk* tabstrip() const { return tabstrip_.get(); } |
159 | 159 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 bool debounce_timer_disabled_; | 525 bool debounce_timer_disabled_; |
526 | 526 |
527 // The model that tracks the paint state of the arrow for the infobar | 527 // The model that tracks the paint state of the arrow for the infobar |
528 // directly below the toolbar. | 528 // directly below the toolbar. |
529 InfoBarArrowModel infobar_arrow_model_; | 529 InfoBarArrowModel infobar_arrow_model_; |
530 | 530 |
531 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 531 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
532 }; | 532 }; |
533 | 533 |
534 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 534 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |