| 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_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 "chrome/browser/ui/base_window.h" | 9 #include "chrome/browser/ui/base_window.h" |
| 10 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 10 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // Shows the Task manager. | 207 // Shows the Task manager. |
| 208 virtual void ShowTaskManager() = 0; | 208 virtual void ShowTaskManager() = 0; |
| 209 | 209 |
| 210 // Shows task information related to background pages. | 210 // Shows task information related to background pages. |
| 211 virtual void ShowBackgroundPages() = 0; | 211 virtual void ShowBackgroundPages() = 0; |
| 212 | 212 |
| 213 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 213 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
| 214 // |already_bookmarked| is true if the url is already bookmarked. | 214 // |already_bookmarked| is true if the url is already bookmarked. |
| 215 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; | 215 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; |
| 216 | 216 |
| 217 // Shows the Chrome To Mobile bubble. |
| 218 virtual void ShowChromeToMobileBubble() = 0; |
| 219 |
| 217 // Whether or not the shelf view is visible. | 220 // Whether or not the shelf view is visible. |
| 218 virtual bool IsDownloadShelfVisible() const = 0; | 221 virtual bool IsDownloadShelfVisible() const = 0; |
| 219 | 222 |
| 220 // Returns the DownloadShelf. | 223 // Returns the DownloadShelf. |
| 221 virtual DownloadShelf* GetDownloadShelf() = 0; | 224 virtual DownloadShelf* GetDownloadShelf() = 0; |
| 222 | 225 |
| 223 // Shows the confirmation dialog box warning that the browser is closing with | 226 // Shows the confirmation dialog box warning that the browser is closing with |
| 224 // in-progress downloads. | 227 // in-progress downloads. |
| 225 // This method should call Browser::InProgressDownloadResponse once the user | 228 // This method should call Browser::InProgressDownloadResponse once the user |
| 226 // has confirmed. | 229 // has confirmed. |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 | 383 |
| 381 // Returns the ToolbarView. | 384 // Returns the ToolbarView. |
| 382 virtual ToolbarView* GetToolbarView() const = 0; | 385 virtual ToolbarView* GetToolbarView() const = 0; |
| 383 #endif | 386 #endif |
| 384 | 387 |
| 385 protected: | 388 protected: |
| 386 virtual ~BrowserWindowTesting() {} | 389 virtual ~BrowserWindowTesting() {} |
| 387 }; | 390 }; |
| 388 | 391 |
| 389 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 392 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |