| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 virtual void ToggleTabStripMode() OVERRIDE; | 131 virtual void ToggleTabStripMode() OVERRIDE; |
| 132 #if defined(OS_MACOSX) | 132 #if defined(OS_MACOSX) |
| 133 virtual void OpenTabpose() OVERRIDE; | 133 virtual void OpenTabpose() OVERRIDE; |
| 134 #endif | 134 #endif |
| 135 virtual void PrepareForInstant() OVERRIDE; | 135 virtual void PrepareForInstant() OVERRIDE; |
| 136 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 136 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
| 137 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 137 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
| 138 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 138 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 139 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 139 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 140 const gfx::Rect& bounds) OVERRIDE; | 140 const gfx::Rect& bounds) OVERRIDE; |
| 141 virtual FindBar* CreateFindBar() OVERRIDE; |
| 141 #if defined(OS_CHROMEOS) | 142 #if defined(OS_CHROMEOS) |
| 142 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 143 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
| 143 #endif | 144 #endif |
| 144 | 145 |
| 145 // Construct a native panel BrowserWindow implementation for the specified | 146 // Construct a native panel BrowserWindow implementation for the specified |
| 146 // |browser|. | 147 // |browser|. |
| 147 static NativePanel* CreateNativePanel(Browser* browser, | 148 static NativePanel* CreateNativePanel(Browser* browser, |
| 148 Panel* panel, | 149 Panel* panel, |
| 149 const gfx::Rect& bounds); | 150 const gfx::Rect& bounds); |
| 150 | 151 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 177 // Platform specifc implementation for panels. It'd be one of | 178 // Platform specifc implementation for panels. It'd be one of |
| 178 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 179 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
| 179 NativePanel* native_panel_; // Weak, owns us. | 180 NativePanel* native_panel_; // Weak, owns us. |
| 180 | 181 |
| 181 ExpansionState expansion_state_; | 182 ExpansionState expansion_state_; |
| 182 | 183 |
| 183 DISALLOW_COPY_AND_ASSIGN(Panel); | 184 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 187 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |