OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_BROWSER_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 121 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
122 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents); | 122 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents); |
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(TabContents* preview_contents); | 130 virtual void ShowInstant(TabContents* preview_contents); |
131 virtual void HideInstant(); | 131 virtual void HideInstant(bool instant_is_active); |
132 virtual gfx::Rect GetInstantBounds(); | 132 virtual gfx::Rect GetInstantBounds(); |
133 | 133 |
134 // Overridden from NotificationObserver: | 134 // Overridden from NotificationObserver: |
135 virtual void Observe(NotificationType type, | 135 virtual void Observe(NotificationType type, |
136 const NotificationSource& source, | 136 const NotificationSource& source, |
137 const NotificationDetails& details); | 137 const NotificationDetails& details); |
138 | 138 |
139 // Overridden from TabStripModelObserver: | 139 // Overridden from TabStripModelObserver: |
140 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 140 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
141 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 141 virtual void TabSelectedAt(TabContentsWrapper* old_contents, |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 484 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
485 | 485 |
486 // The model that tracks the paint state of the arrow for the infobar | 486 // The model that tracks the paint state of the arrow for the infobar |
487 // directly below the toolbar. | 487 // directly below the toolbar. |
488 InfoBarArrowModel infobar_arrow_model_; | 488 InfoBarArrowModel infobar_arrow_model_; |
489 | 489 |
490 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 490 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
491 }; | 491 }; |
492 | 492 |
493 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 493 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |