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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 virtual void ToggleTabStripMode(); | 130 virtual void ToggleTabStripMode(); |
131 virtual void ToggleUseCompactNavigationBar(); | 131 virtual void ToggleUseCompactNavigationBar(); |
132 virtual void PrepareForInstant(); | 132 virtual void PrepareForInstant(); |
133 virtual void ShowInstant(TabContentsWrapper* preview); | 133 virtual void ShowInstant(TabContentsWrapper* preview); |
134 virtual void HideInstant(bool instant_is_active); | 134 virtual void HideInstant(bool instant_is_active); |
135 virtual gfx::Rect GetInstantBounds(); | 135 virtual gfx::Rect GetInstantBounds(); |
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(int 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 ActiveTabChanged(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 |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 // be called. This should only be enabled in tests where the debounce timeout | 505 // be called. This should only be enabled in tests where the debounce timeout |
506 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 506 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
507 // autocomplete popup before the results can be read) and the final window | 507 // autocomplete popup before the results can be read) and the final window |
508 // position is unimportant. | 508 // position is unimportant. |
509 bool debounce_timer_disabled_; | 509 bool debounce_timer_disabled_; |
510 | 510 |
511 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 511 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
512 }; | 512 }; |
513 | 513 |
514 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 514 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |