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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // |template_url|. Takes ownership of |template_url|. | 197 // |template_url|. Takes ownership of |template_url|. |
198 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 198 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
199 Profile* profile) = 0; | 199 Profile* profile) = 0; |
200 | 200 |
201 // Shows or hides the bookmark bar depending on its current visibility. | 201 // Shows or hides the bookmark bar depending on its current visibility. |
202 virtual void ToggleBookmarkBar() = 0; | 202 virtual void ToggleBookmarkBar() = 0; |
203 | 203 |
204 // Shows the Update Recommended dialog box. | 204 // Shows the Update Recommended dialog box. |
205 virtual void ShowUpdateChromeDialog() = 0; | 205 virtual void ShowUpdateChromeDialog() = 0; |
206 | 206 |
207 // Shows the Task manager. | |
208 virtual void ShowTaskManager() = 0; | |
209 | |
210 // Shows task information related to background pages. | |
211 virtual void ShowBackgroundPages() = 0; | |
212 | |
213 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 207 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
214 // |already_bookmarked| is true if the url is already bookmarked. | 208 // |already_bookmarked| is true if the url is already bookmarked. |
215 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; | 209 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; |
216 | 210 |
217 // Shows the bookmark prompt. | 211 // Shows the bookmark prompt. |
218 // TODO(yosin): Make ShowBookmarkPrompt pure virtual. | 212 // TODO(yosin): Make ShowBookmarkPrompt pure virtual. |
219 virtual void ShowBookmarkPrompt() {} | 213 virtual void ShowBookmarkPrompt() {} |
220 | 214 |
221 // Shows the Chrome To Mobile bubble. | 215 // Shows the Chrome To Mobile bubble. |
222 virtual void ShowChromeToMobileBubble() = 0; | 216 virtual void ShowChromeToMobileBubble() = 0; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 | 390 |
397 // Returns the ToolbarView. | 391 // Returns the ToolbarView. |
398 virtual ToolbarView* GetToolbarView() const = 0; | 392 virtual ToolbarView* GetToolbarView() const = 0; |
399 #endif | 393 #endif |
400 | 394 |
401 protected: | 395 protected: |
402 virtual ~BrowserWindowTesting() {} | 396 virtual ~BrowserWindowTesting() {} |
403 }; | 397 }; |
404 | 398 |
405 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 399 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |