| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 bool* is_keyboard_shortcut); | 134 bool* is_keyboard_shortcut); |
| 135 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 135 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 136 virtual void ShowCreateWebAppShortcutsDialog( | 136 virtual void ShowCreateWebAppShortcutsDialog( |
| 137 TabContentsWrapper* tab_contents); | 137 TabContentsWrapper* tab_contents); |
| 138 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, | 138 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, |
| 139 const Extension* app); | 139 const Extension* app); |
| 140 virtual void Cut(); | 140 virtual void Cut(); |
| 141 virtual void Copy(); | 141 virtual void Copy(); |
| 142 virtual void Paste(); | 142 virtual void Paste(); |
| 143 virtual void ShowInstant(TabContentsWrapper* preview); | 143 virtual void ShowInstant(TabContentsWrapper* preview); |
| 144 virtual void HideInstant(bool instant_is_active); | 144 virtual void HideInstant(); |
| 145 virtual gfx::Rect GetInstantBounds(); | 145 virtual gfx::Rect GetInstantBounds(); |
| 146 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 146 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 147 const gfx::Rect& bounds); | 147 const gfx::Rect& bounds); |
| 148 virtual FindBar* CreateFindBar() OVERRIDE; | 148 virtual FindBar* CreateFindBar() OVERRIDE; |
| 149 virtual void ShowAvatarBubble(TabContents* tab_contents, | 149 virtual void ShowAvatarBubble(TabContents* tab_contents, |
| 150 const gfx::Rect& rect) OVERRIDE; | 150 const gfx::Rect& rect) OVERRIDE; |
| 151 | 151 |
| 152 // Overridden from NotificationObserver: | 152 // Overridden from NotificationObserver: |
| 153 virtual void Observe(int type, | 153 virtual void Observe(int type, |
| 154 const NotificationSource& source, | 154 const NotificationSource& source, |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 // be called. This should only be enabled in tests where the debounce timeout | 517 // be called. This should only be enabled in tests where the debounce timeout |
| 518 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the | 518 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the |
| 519 // autocomplete popup before the results can be read) and the final window | 519 // autocomplete popup before the results can be read) and the final window |
| 520 // position is unimportant. | 520 // position is unimportant. |
| 521 bool debounce_timer_disabled_; | 521 bool debounce_timer_disabled_; |
| 522 | 522 |
| 523 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 523 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 524 }; | 524 }; |
| 525 | 525 |
| 526 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 526 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |