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_OLD_PANEL_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ |
6 #define CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ | 6 #define CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ |
7 | 7 |
8 #include "chrome/browser/ui/panels/panel.h" | 8 #include "chrome/browser/ui/panels/panel.h" |
9 | 9 |
10 class Browser; | 10 class Browser; |
(...skipping 12 matching lines...) Expand all Loading... |
23 virtual BrowserWindow* browser_window() const OVERRIDE; | 23 virtual BrowserWindow* browser_window() const OVERRIDE; |
24 virtual CommandUpdater* command_updater() OVERRIDE; | 24 virtual CommandUpdater* command_updater() OVERRIDE; |
25 virtual Profile* profile() const OVERRIDE; | 25 virtual Profile* profile() const OVERRIDE; |
26 virtual void Initialize(const gfx::Rect& bounds, Browser* browser) OVERRIDE; | 26 virtual void Initialize(const gfx::Rect& bounds, Browser* browser) OVERRIDE; |
27 virtual content::WebContents* GetWebContents() const OVERRIDE; | 27 virtual content::WebContents* GetWebContents() const OVERRIDE; |
28 virtual bool ShouldCloseWindow() OVERRIDE; | 28 virtual bool ShouldCloseWindow() OVERRIDE; |
29 virtual void OnWindowClosing() OVERRIDE; | 29 virtual void OnWindowClosing() OVERRIDE; |
30 virtual void ExecuteCommandWithDisposition( | 30 virtual void ExecuteCommandWithDisposition( |
31 int id, | 31 int id, |
32 WindowOpenDisposition disposition) OVERRIDE; | 32 WindowOpenDisposition disposition) OVERRIDE; |
33 virtual SkBitmap GetCurrentPageIcon() const OVERRIDE; | 33 virtual gfx::Image GetCurrentPageIcon() const OVERRIDE; |
34 | 34 |
35 private: | 35 private: |
36 Browser* browser_; // Weak pointer. Owned by native panel. | 36 Browser* browser_; // Weak pointer. Owned by native panel. |
37 | 37 |
38 // A BrowserWindow for the browser to interact with. | 38 // A BrowserWindow for the browser to interact with. |
39 scoped_ptr<PanelBrowserWindow> panel_browser_window_; | 39 scoped_ptr<PanelBrowserWindow> panel_browser_window_; |
40 }; | 40 }; |
41 | 41 |
42 #endif // CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ | 42 #endif // CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_ |
OLD | NEW |