| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 const Extension* app) OVERRIDE; | 151 const Extension* app) OVERRIDE; |
| 152 virtual void Cut() OVERRIDE; | 152 virtual void Cut() OVERRIDE; |
| 153 virtual void Copy() OVERRIDE; | 153 virtual void Copy() OVERRIDE; |
| 154 virtual void Paste() OVERRIDE; | 154 virtual void Paste() OVERRIDE; |
| 155 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 155 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
| 156 virtual void HideInstant() OVERRIDE; | 156 virtual void HideInstant() OVERRIDE; |
| 157 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 157 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 158 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 158 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 159 const gfx::Rect& bounds) OVERRIDE; | 159 const gfx::Rect& bounds) OVERRIDE; |
| 160 virtual FindBar* CreateFindBar() OVERRIDE; | 160 virtual FindBar* CreateFindBar() OVERRIDE; |
| 161 virtual void ShowAvatarBubble(TabContents* tab_contents, | 161 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
| 162 const gfx::Rect& rect) OVERRIDE; | 162 const gfx::Rect& rect) OVERRIDE; |
| 163 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; | 163 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
| 164 | 164 |
| 165 // Overridden from NotificationObserver: | 165 // Overridden from NotificationObserver: |
| 166 virtual void Observe(int type, | 166 virtual void Observe(int type, |
| 167 const content::NotificationSource& source, | 167 const content::NotificationSource& source, |
| 168 const content::NotificationDetails& details) OVERRIDE; | 168 const content::NotificationDetails& details) OVERRIDE; |
| 169 | 169 |
| 170 // Overridden from TabStripModelObserver: | 170 // Overridden from TabStripModelObserver: |
| 171 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE; | 171 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE; |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 // be called. This should only be enabled in tests where the debounce timeout | 542 // be called. This should only be enabled in tests where the debounce timeout |
| 543 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 543 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
| 544 // autocomplete popup before the results can be read) and the final window | 544 // autocomplete popup before the results can be read) and the final window |
| 545 // position is unimportant. | 545 // position is unimportant. |
| 546 bool debounce_timer_disabled_; | 546 bool debounce_timer_disabled_; |
| 547 | 547 |
| 548 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 548 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 549 }; | 549 }; |
| 550 | 550 |
| 551 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 551 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |