| 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 // Shows the About Chrome dialog box. | 202 // Shows the About Chrome dialog box. |
| 203 virtual views::Window* ShowAboutChromeDialog() = 0; | 203 virtual views::Window* ShowAboutChromeDialog() = 0; |
| 204 | 204 |
| 205 // Shows the Update Recommended dialog box. | 205 // Shows the Update Recommended dialog box. |
| 206 virtual void ShowUpdateChromeDialog() = 0; | 206 virtual void ShowUpdateChromeDialog() = 0; |
| 207 | 207 |
| 208 // Shows the Task manager. | 208 // Shows the Task manager. |
| 209 virtual void ShowTaskManager() = 0; | 209 virtual void ShowTaskManager() = 0; |
| 210 | 210 |
| 211 // Shows task information related to background pages. |
| 212 virtual void ShowBackgroundPages() = 0; |
| 213 |
| 211 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 214 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
| 212 // |already_bookmarked| is true if the url is already bookmarked. | 215 // |already_bookmarked| is true if the url is already bookmarked. |
| 213 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; | 216 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; |
| 214 | 217 |
| 215 // Whether or not the shelf view is visible. | 218 // Whether or not the shelf view is visible. |
| 216 virtual bool IsDownloadShelfVisible() const = 0; | 219 virtual bool IsDownloadShelfVisible() const = 0; |
| 217 | 220 |
| 218 // Returns the DownloadShelf. | 221 // Returns the DownloadShelf. |
| 219 virtual DownloadShelf* GetDownloadShelf() = 0; | 222 virtual DownloadShelf* GetDownloadShelf() = 0; |
| 220 | 223 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 | 387 |
| 385 // Returns the ToolbarView. | 388 // Returns the ToolbarView. |
| 386 virtual ToolbarView* GetToolbarView() const = 0; | 389 virtual ToolbarView* GetToolbarView() const = 0; |
| 387 #endif | 390 #endif |
| 388 | 391 |
| 389 protected: | 392 protected: |
| 390 virtual ~BrowserWindowTesting() {} | 393 virtual ~BrowserWindowTesting() {} |
| 391 }; | 394 }; |
| 392 | 395 |
| 393 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 396 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |