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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 virtual void Copy(); | 143 virtual void Copy(); |
144 virtual void Paste(); | 144 virtual void Paste(); |
145 virtual void ToggleTabStripMode(); | 145 virtual void ToggleTabStripMode(); |
146 virtual void PrepareForInstant(); | 146 virtual void PrepareForInstant(); |
147 virtual void ShowInstant(TabContentsWrapper* preview); | 147 virtual void ShowInstant(TabContentsWrapper* preview); |
148 virtual void HideInstant(bool instant_is_active); | 148 virtual void HideInstant(bool instant_is_active); |
149 virtual gfx::Rect GetInstantBounds(); | 149 virtual gfx::Rect GetInstantBounds(); |
150 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 150 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
151 const gfx::Rect& bounds); | 151 const gfx::Rect& bounds); |
152 virtual FindBar* CreateFindBar() OVERRIDE; | 152 virtual FindBar* CreateFindBar() OVERRIDE; |
| 153 virtual void ShowAvatarBubble(TabContents* tab_contents, |
| 154 int x, int y) OVERRIDE; |
153 | 155 |
154 // Overridden from NotificationObserver: | 156 // Overridden from NotificationObserver: |
155 virtual void Observe(int type, | 157 virtual void Observe(int type, |
156 const NotificationSource& source, | 158 const NotificationSource& source, |
157 const NotificationDetails& details); | 159 const NotificationDetails& details); |
158 | 160 |
159 // Overridden from TabStripModelObserver: | 161 // Overridden from TabStripModelObserver: |
160 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 162 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
161 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, | 163 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, |
162 TabContentsWrapper* new_contents, | 164 TabContentsWrapper* new_contents, |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 // be called. This should only be enabled in tests where the debounce timeout | 525 // be called. This should only be enabled in tests where the debounce timeout |
524 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 526 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
525 // autocomplete popup before the results can be read) and the final window | 527 // autocomplete popup before the results can be read) and the final window |
526 // position is unimportant. | 528 // position is unimportant. |
527 bool debounce_timer_disabled_; | 529 bool debounce_timer_disabled_; |
528 | 530 |
529 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 531 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
530 }; | 532 }; |
531 | 533 |
532 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 534 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |