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