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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 bool show_history); | 118 bool show_history); |
119 virtual void ShowAppMenu(); | 119 virtual void ShowAppMenu(); |
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 ShowCreateShortcutsDialog(TabContents* tab_contents); | 123 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); |
124 virtual void Cut(); | 124 virtual void Cut(); |
125 virtual void Copy(); | 125 virtual void Copy(); |
126 virtual void Paste(); | 126 virtual void Paste(); |
127 virtual void ToggleTabStripMode() {} | 127 virtual void ToggleTabStripMode() {} |
| 128 virtual void PrepareForInstant(); |
128 virtual void ShowInstant(TabContents* preview_contents); | 129 virtual void ShowInstant(TabContents* preview_contents); |
129 virtual void HideInstant(); | 130 virtual void HideInstant(); |
130 virtual gfx::Rect GetInstantBounds(); | 131 virtual gfx::Rect GetInstantBounds(); |
131 | 132 |
132 // Overridden from NotificationObserver: | 133 // Overridden from NotificationObserver: |
133 virtual void Observe(NotificationType type, | 134 virtual void Observe(NotificationType type, |
134 const NotificationSource& source, | 135 const NotificationSource& source, |
135 const NotificationDetails& details); | 136 const NotificationDetails& details); |
136 | 137 |
137 // Overridden from TabStripModelObserver: | 138 // Overridden from TabStripModelObserver: |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 477 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
477 | 478 |
478 // The model that tracks the paint state of the arrow for the infobar | 479 // The model that tracks the paint state of the arrow for the infobar |
479 // directly below the toolbar. | 480 // directly below the toolbar. |
480 InfoBarArrowModel infobar_arrow_model_; | 481 InfoBarArrowModel infobar_arrow_model_; |
481 | 482 |
482 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 483 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
483 }; | 484 }; |
484 | 485 |
485 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 486 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |