| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 virtual void Copy(); | 116 virtual void Copy(); |
| 117 virtual void Paste(); | 117 virtual void Paste(); |
| 118 virtual void ToggleTabStripMode(); | 118 virtual void ToggleTabStripMode(); |
| 119 #if defined(OS_MACOSX) | 119 #if defined(OS_MACOSX) |
| 120 virtual void OpenTabpose(); | 120 virtual void OpenTabpose(); |
| 121 #endif | 121 #endif |
| 122 virtual void PrepareForInstant(); | 122 virtual void PrepareForInstant(); |
| 123 virtual void ShowInstant(TabContentsWrapper* preview); | 123 virtual void ShowInstant(TabContentsWrapper* preview); |
| 124 virtual void HideInstant(bool instant_is_active); | 124 virtual void HideInstant(bool instant_is_active); |
| 125 virtual gfx::Rect GetInstantBounds(); | 125 virtual gfx::Rect GetInstantBounds(); |
| 126 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 127 const gfx::Rect& bounds); |
| 126 #if defined(OS_CHROMEOS) | 128 #if defined(OS_CHROMEOS) |
| 127 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); | 129 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); |
| 128 #endif | 130 #endif |
| 129 | 131 |
| 130 // Construct a native panel BrowserWindow implementation for the specified | 132 // Construct a native panel BrowserWindow implementation for the specified |
| 131 // |browser|. | 133 // |browser|. |
| 132 static BrowserWindow* CreateNativePanel(Browser* browser, Panel* panel); | 134 static BrowserWindow* CreateNativePanel(Browser* browser, Panel* panel); |
| 133 | 135 |
| 134 protected: | 136 protected: |
| 135 virtual void DestroyBrowser(); | 137 virtual void DestroyBrowser(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 146 | 148 |
| 147 gfx::Rect bounds_; | 149 gfx::Rect bounds_; |
| 148 | 150 |
| 149 // Is the panel minimized? | 151 // Is the panel minimized? |
| 150 bool minimized_; | 152 bool minimized_; |
| 151 | 153 |
| 152 DISALLOW_COPY_AND_ASSIGN(Panel); | 154 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 157 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |