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