| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 virtual void ShowTaskManager() OVERRIDE; | 98 virtual void ShowTaskManager() OVERRIDE; |
| 99 virtual void ShowBackgroundPages() OVERRIDE; | 99 virtual void ShowBackgroundPages() OVERRIDE; |
| 100 virtual void ShowBookmarkBubble( | 100 virtual void ShowBookmarkBubble( |
| 101 const GURL& url, bool already_bookmarked) OVERRIDE; | 101 const GURL& url, bool already_bookmarked) OVERRIDE; |
| 102 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 102 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 103 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 103 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 104 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; | 104 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; |
| 105 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) OVERRIDE; | 105 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) OVERRIDE; |
| 106 virtual void ShowThemeInstallBubble() OVERRIDE; | 106 virtual void ShowThemeInstallBubble() OVERRIDE; |
| 107 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; | 107 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; |
| 108 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 108 virtual gfx::NativeWindow ShowHTMLDialog( |
| 109 gfx::NativeWindow parent_window) OVERRIDE; | 109 HtmlDialogUIDelegate* delegate, |
| 110 gfx::NativeWindow parent_window) OVERRIDE; |
| 110 virtual void UserChangedTheme() OVERRIDE; | 111 virtual void UserChangedTheme() OVERRIDE; |
| 111 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 112 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
| 112 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE; | 113 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE; |
| 113 virtual void ShowPageInfo(Profile* profile, | 114 virtual void ShowPageInfo(Profile* profile, |
| 114 const GURL& url, | 115 const GURL& url, |
| 115 const NavigationEntry::SSLStatus& ssl, | 116 const NavigationEntry::SSLStatus& ssl, |
| 116 bool show_history) OVERRIDE; | 117 bool show_history) OVERRIDE; |
| 117 virtual void ShowAppMenu() OVERRIDE; | 118 virtual void ShowAppMenu() OVERRIDE; |
| 118 virtual bool PreHandleKeyboardEvent( | 119 virtual bool PreHandleKeyboardEvent( |
| 119 const NativeWebKeyboardEvent& event, | 120 const NativeWebKeyboardEvent& event, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 // Platform specifc implementation for panels. It'd be one of | 181 // Platform specifc implementation for panels. It'd be one of |
| 181 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 182 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
| 182 NativePanel* native_panel_; // Weak, owns us. | 183 NativePanel* native_panel_; // Weak, owns us. |
| 183 | 184 |
| 184 ExpansionState expansion_state_; | 185 ExpansionState expansion_state_; |
| 185 | 186 |
| 186 DISALLOW_COPY_AND_ASSIGN(Panel); | 187 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 187 }; | 188 }; |
| 188 | 189 |
| 189 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 190 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |