| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/browser_window.h" | 8 #include "chrome/browser/ui/browser_window.h" |
| 9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual void OpenTabpose() OVERRIDE; | 130 virtual void OpenTabpose() OVERRIDE; |
| 131 virtual void EnterPresentationMode( | 131 virtual void EnterPresentationMode( |
| 132 const GURL& url, | 132 const GURL& url, |
| 133 FullscreenExitBubbleType bubble_type) OVERRIDE; | 133 FullscreenExitBubbleType bubble_type) OVERRIDE; |
| 134 virtual void ExitPresentationMode() OVERRIDE; | 134 virtual void ExitPresentationMode() OVERRIDE; |
| 135 virtual bool InPresentationMode() OVERRIDE; | 135 virtual bool InPresentationMode() OVERRIDE; |
| 136 #endif | 136 #endif |
| 137 virtual void ShowInstant(TabContents* preview) OVERRIDE; | 137 virtual void ShowInstant(TabContents* preview) OVERRIDE; |
| 138 virtual void HideInstant() OVERRIDE; | 138 virtual void HideInstant() OVERRIDE; |
| 139 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 139 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 140 virtual bool IsInstantTabShowing() OVERRIDE; |
| 140 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 141 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 141 const gfx::Rect& bounds) OVERRIDE; | 142 const gfx::Rect& bounds) OVERRIDE; |
| 142 virtual FindBar* CreateFindBar() OVERRIDE; | 143 virtual FindBar* CreateFindBar() OVERRIDE; |
| 143 virtual void ResizeDueToAutoResize(content::WebContents* web_contents, | 144 virtual void ResizeDueToAutoResize(content::WebContents* web_contents, |
| 144 const gfx::Size& new_size) OVERRIDE; | 145 const gfx::Size& new_size) OVERRIDE; |
| 145 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 146 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
| 146 const gfx::Rect& rect) OVERRIDE; | 147 const gfx::Rect& rect) OVERRIDE; |
| 147 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; | 148 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
| 148 | 149 |
| 149 // TabStripModelObserver overrides. | 150 // TabStripModelObserver overrides. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 165 Panel* panel_; // Weak pointer. Owns us. | 166 Panel* panel_; // Weak pointer. Owns us. |
| 166 | 167 |
| 167 // Platform specifc implementation for panels. It'd be one of | 168 // Platform specifc implementation for panels. It'd be one of |
| 168 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 169 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
| 169 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). | 170 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). |
| 170 | 171 |
| 171 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); | 172 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); |
| 172 }; | 173 }; |
| 173 | 174 |
| 174 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ | 175 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ |
| OLD | NEW |