| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
| 124 const Extension* app); | 124 const Extension* app); |
| 125 virtual void Cut(); | 125 virtual void Cut(); |
| 126 virtual void Copy(); | 126 virtual void Copy(); |
| 127 virtual void Paste(); | 127 virtual void Paste(); |
| 128 virtual void ToggleTabStripMode() {} | 128 virtual void ToggleTabStripMode() {} |
| 129 virtual void PrepareForInstant(); | 129 virtual void PrepareForInstant(); |
| 130 virtual void ShowInstant(TabContentsWrapper* preview); | 130 virtual void ShowInstant(TabContentsWrapper* preview); |
| 131 virtual void HideInstant(bool instant_is_active); | 131 virtual void HideInstant(bool instant_is_active); |
| 132 virtual gfx::Rect GetInstantBounds(); | 132 virtual gfx::Rect GetInstantBounds(); |
| 133 virtual void AdjustNavigateParams(browser::NavigateParams* params); |
| 133 | 134 |
| 134 // Overridden from NotificationObserver: | 135 // Overridden from NotificationObserver: |
| 135 virtual void Observe(NotificationType type, | 136 virtual void Observe(NotificationType type, |
| 136 const NotificationSource& source, | 137 const NotificationSource& source, |
| 137 const NotificationDetails& details); | 138 const NotificationDetails& details); |
| 138 | 139 |
| 139 // Overridden from TabStripModelObserver: | 140 // Overridden from TabStripModelObserver: |
| 140 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 141 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
| 141 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 142 virtual void TabSelectedAt(TabContentsWrapper* old_contents, |
| 142 TabContentsWrapper* new_contents, | 143 TabContentsWrapper* new_contents, |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 bool debounce_timer_disabled_; | 516 bool debounce_timer_disabled_; |
| 516 | 517 |
| 517 // The model that tracks the paint state of the arrow for the infobar | 518 // The model that tracks the paint state of the arrow for the infobar |
| 518 // directly below the toolbar. | 519 // directly below the toolbar. |
| 519 InfoBarArrowModel infobar_arrow_model_; | 520 InfoBarArrowModel infobar_arrow_model_; |
| 520 | 521 |
| 521 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 522 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 522 }; | 523 }; |
| 523 | 524 |
| 524 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 525 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |