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 | 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 virtual void DisableInactiveFrame() {} | 210 virtual void DisableInactiveFrame() {} |
211 | 211 |
212 // Shows a confirmation dialog box for adding a search engine described by | 212 // Shows a confirmation dialog box for adding a search engine described by |
213 // |template_url|. Takes ownership of |template_url|. | 213 // |template_url|. Takes ownership of |template_url|. |
214 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 214 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
215 Profile* profile) = 0; | 215 Profile* profile) = 0; |
216 | 216 |
217 // Shows or hides the bookmark bar depending on its current visibility. | 217 // Shows or hides the bookmark bar depending on its current visibility. |
218 virtual void ToggleBookmarkBar() = 0; | 218 virtual void ToggleBookmarkBar() = 0; |
219 | 219 |
220 // Shows the About Chrome dialog box. | |
221 virtual void ShowAboutChromeDialog() = 0; | |
222 | |
223 // Shows the Update Recommended dialog box. | 220 // Shows the Update Recommended dialog box. |
224 virtual void ShowUpdateChromeDialog() = 0; | 221 virtual void ShowUpdateChromeDialog() = 0; |
225 | 222 |
226 // Shows the Task manager. | 223 // Shows the Task manager. |
227 virtual void ShowTaskManager() = 0; | 224 virtual void ShowTaskManager() = 0; |
228 | 225 |
229 // Shows task information related to background pages. | 226 // Shows task information related to background pages. |
230 virtual void ShowBackgroundPages() = 0; | 227 virtual void ShowBackgroundPages() = 0; |
231 | 228 |
232 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 229 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 | 413 |
417 // Returns the ToolbarView. | 414 // Returns the ToolbarView. |
418 virtual ToolbarView* GetToolbarView() const = 0; | 415 virtual ToolbarView* GetToolbarView() const = 0; |
419 #endif | 416 #endif |
420 | 417 |
421 protected: | 418 protected: |
422 virtual ~BrowserWindowTesting() {} | 419 virtual ~BrowserWindowTesting() {} |
423 }; | 420 }; |
424 | 421 |
425 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 422 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |