| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "chrome/browser/lifetime/application_lifetime.h" | 9 #include "chrome/browser/lifetime/application_lifetime.h" |
| 10 #include "chrome/browser/ui/base_window.h" | 10 #include "chrome/browser/ui/base_window.h" |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 194 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 195 Profile* profile) = 0; | 195 Profile* profile) = 0; |
| 196 | 196 |
| 197 // Shows or hides the bookmark bar depending on its current visibility. | 197 // Shows or hides the bookmark bar depending on its current visibility. |
| 198 virtual void ToggleBookmarkBar() = 0; | 198 virtual void ToggleBookmarkBar() = 0; |
| 199 | 199 |
| 200 // Shows the Update Recommended dialog box. | 200 // Shows the Update Recommended dialog box. |
| 201 virtual void ShowUpdateChromeDialog() = 0; | 201 virtual void ShowUpdateChromeDialog() = 0; |
| 202 | 202 |
| 203 // Shows the Task manager. | 203 // Shows the Task manager. |
| 204 virtual void ShowTaskManager(chrome::HostDesktopType desktop_type) = 0; | 204 virtual void ShowTaskManager() = 0; |
| 205 | 205 |
| 206 // Shows task information related to background pages. | 206 // Shows task information related to background pages. |
| 207 virtual void ShowBackgroundPages(chrome::HostDesktopType desktop_type) = 0; | 207 virtual void ShowBackgroundPages() = 0; |
| 208 | 208 |
| 209 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 209 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
| 210 // |already_bookmarked| is true if the url is already bookmarked. | 210 // |already_bookmarked| is true if the url is already bookmarked. |
| 211 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; | 211 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; |
| 212 | 212 |
| 213 // Shows the bookmark prompt. | 213 // Shows the bookmark prompt. |
| 214 // TODO(yosin): Make ShowBookmarkPrompt pure virtual. | 214 // TODO(yosin): Make ShowBookmarkPrompt pure virtual. |
| 215 virtual void ShowBookmarkPrompt() {} | 215 virtual void ShowBookmarkPrompt() {} |
| 216 | 216 |
| 217 // Shows the Chrome To Mobile bubble. | 217 // Shows the Chrome To Mobile bubble. |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 394 |
| 395 // Returns the ToolbarView. | 395 // Returns the ToolbarView. |
| 396 virtual ToolbarView* GetToolbarView() const = 0; | 396 virtual ToolbarView* GetToolbarView() const = 0; |
| 397 #endif | 397 #endif |
| 398 | 398 |
| 399 protected: | 399 protected: |
| 400 virtual ~BrowserWindowTesting() {} | 400 virtual ~BrowserWindowTesting() {} |
| 401 }; | 401 }; |
| 402 | 402 |
| 403 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 403 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |