| 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_PANELS_PANEL_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 Profile* profile, const Extension* app) OVERRIDE; | 140 Profile* profile, const Extension* app) OVERRIDE; |
| 141 virtual void Cut() OVERRIDE; | 141 virtual void Cut() OVERRIDE; |
| 142 virtual void Copy() OVERRIDE; | 142 virtual void Copy() OVERRIDE; |
| 143 virtual void Paste() OVERRIDE; | 143 virtual void Paste() OVERRIDE; |
| 144 #if defined(OS_MACOSX) | 144 #if defined(OS_MACOSX) |
| 145 virtual void OpenTabpose() OVERRIDE; | 145 virtual void OpenTabpose() OVERRIDE; |
| 146 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; | 146 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; |
| 147 virtual bool InPresentationMode() OVERRIDE; | 147 virtual bool InPresentationMode() OVERRIDE; |
| 148 #endif | 148 #endif |
| 149 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 149 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
| 150 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 150 virtual void HideInstant() OVERRIDE; |
| 151 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 151 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 152 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 152 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 153 const gfx::Rect& bounds) OVERRIDE; | 153 const gfx::Rect& bounds) OVERRIDE; |
| 154 virtual FindBar* CreateFindBar() OVERRIDE; | 154 virtual FindBar* CreateFindBar() OVERRIDE; |
| 155 #if defined(OS_CHROMEOS) | 155 #if defined(OS_CHROMEOS) |
| 156 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 156 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
| 157 #endif | 157 #endif |
| 158 virtual void UpdatePreferredSize(TabContents* tab_contents, | 158 virtual void UpdatePreferredSize(TabContents* tab_contents, |
| 159 const gfx::Size& pref_size) OVERRIDE; | 159 const gfx::Size& pref_size) OVERRIDE; |
| 160 virtual void ShowAvatarBubble(TabContents* tab_contents, | 160 virtual void ShowAvatarBubble(TabContents* tab_contents, |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // Stores the full height of the panel so we can restore it after it's | 229 // Stores the full height of the panel so we can restore it after it's |
| 230 // been minimized. | 230 // been minimized. |
| 231 int restored_height_; | 231 int restored_height_; |
| 232 | 232 |
| 233 NotificationRegistrar registrar_; | 233 NotificationRegistrar registrar_; |
| 234 | 234 |
| 235 DISALLOW_COPY_AND_ASSIGN(Panel); | 235 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 236 }; | 236 }; |
| 237 | 237 |
| 238 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 238 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |