| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 120 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 121 bool* is_keyboard_shortcut); | 121 bool* is_keyboard_shortcut); |
| 122 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 122 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 123 virtual void ShowCreateWebAppShortcutsDialog( | 123 virtual void ShowCreateWebAppShortcutsDialog( |
| 124 TabContentsWrapper* tab_contents); | 124 TabContentsWrapper* tab_contents); |
| 125 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 125 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
| 126 const Extension* app); | 126 const Extension* app); |
| 127 virtual void Cut(); | 127 virtual void Cut(); |
| 128 virtual void Copy(); | 128 virtual void Copy(); |
| 129 virtual void Paste(); | 129 virtual void Paste(); |
| 130 virtual void ToggleTabStripMode() {} | 130 virtual void ToggleTabStripMode(); |
| 131 virtual void ToggleUseCompactNavigationBar(); |
| 131 virtual void PrepareForInstant(); | 132 virtual void PrepareForInstant(); |
| 132 virtual void ShowInstant(TabContentsWrapper* preview); | 133 virtual void ShowInstant(TabContentsWrapper* preview); |
| 133 virtual void HideInstant(bool instant_is_active); | 134 virtual void HideInstant(bool instant_is_active); |
| 134 virtual gfx::Rect GetInstantBounds(); | 135 virtual gfx::Rect GetInstantBounds(); |
| 135 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 136 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 136 const gfx::Rect& bounds); | 137 const gfx::Rect& bounds); |
| 137 | 138 |
| 138 // Overridden from NotificationObserver: | 139 // Overridden from NotificationObserver: |
| 139 virtual void Observe(NotificationType type, | 140 virtual void Observe(NotificationType type, |
| 140 const NotificationSource& source, | 141 const NotificationSource& source, |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 bool debounce_timer_disabled_; | 525 bool debounce_timer_disabled_; |
| 525 | 526 |
| 526 // The model that tracks the paint state of the arrow for the infobar | 527 // The model that tracks the paint state of the arrow for the infobar |
| 527 // directly below the toolbar. | 528 // directly below the toolbar. |
| 528 InfoBarArrowModel infobar_arrow_model_; | 529 InfoBarArrowModel infobar_arrow_model_; |
| 529 | 530 |
| 530 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 531 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 531 }; | 532 }; |
| 532 | 533 |
| 533 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 534 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |