| 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_BROWSER_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 public: | 23 public: |
| 24 PanelBrowserWindowCocoa(Browser* browser, Panel* panel, | 24 PanelBrowserWindowCocoa(Browser* browser, Panel* panel, |
| 25 const gfx::Rect& bounds); | 25 const gfx::Rect& bounds); |
| 26 virtual ~PanelBrowserWindowCocoa(); | 26 virtual ~PanelBrowserWindowCocoa(); |
| 27 | 27 |
| 28 // Overridden from NativePanel | 28 // Overridden from NativePanel |
| 29 virtual void ShowPanel() OVERRIDE; | 29 virtual void ShowPanel() OVERRIDE; |
| 30 virtual gfx::Rect GetPanelBounds() const OVERRIDE; | 30 virtual gfx::Rect GetPanelBounds() const OVERRIDE; |
| 31 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; | 31 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; |
| 32 virtual void MinimizePanel() OVERRIDE; | 32 virtual void MinimizePanel() OVERRIDE; |
| 33 virtual void RestorePanel() OVERRIDE; | 33 virtual void RestorePanel(bool titlebar_only) OVERRIDE; |
| 34 virtual void ClosePanel() OVERRIDE; | 34 virtual void ClosePanel() OVERRIDE; |
| 35 virtual void ActivatePanel() OVERRIDE; | 35 virtual void ActivatePanel() OVERRIDE; |
| 36 virtual void DeactivatePanel() OVERRIDE; | 36 virtual void DeactivatePanel() OVERRIDE; |
| 37 virtual bool IsPanelActive() const OVERRIDE; | 37 virtual bool IsPanelActive() const OVERRIDE; |
| 38 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; | 38 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; |
| 39 virtual void UpdatePanelTitleBar() OVERRIDE; | 39 virtual void UpdatePanelTitleBar() OVERRIDE; |
| 40 virtual void ShowTaskManagerForPanel() OVERRIDE; | 40 virtual void ShowTaskManagerForPanel() OVERRIDE; |
| 41 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; | 41 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; |
| 42 virtual void FlashPanelFrame() OVERRIDE; | 42 virtual void FlashPanelFrame() OVERRIDE; |
| 43 virtual void DestroyPanelBrowser() OVERRIDE; | 43 virtual void DestroyPanelBrowser() OVERRIDE; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 57 scoped_ptr<Browser> browser_; | 57 scoped_ptr<Browser> browser_; |
| 58 scoped_ptr<Panel> panel_; | 58 scoped_ptr<Panel> panel_; |
| 59 gfx::Rect bounds_; | 59 gfx::Rect bounds_; |
| 60 PanelWindowControllerCocoa* controller_; // Weak, owns us. | 60 PanelWindowControllerCocoa* controller_; // Weak, owns us. |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowCocoa); | 62 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowCocoa); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ | 65 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ |
| 66 | 66 |
| OLD | NEW |