| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/tab_contents/navigation_entry.h" | 8 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 9 #include "chrome/common/content_settings_types.h" | 9 #include "chrome/common/content_settings_types.h" |
| 10 #include "gfx/native_widget_types.h" | 10 #include "gfx/native_widget_types.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 // Shows or hides the bookmark bar depending on its current visibility. | 177 // Shows or hides the bookmark bar depending on its current visibility. |
| 178 virtual void ToggleBookmarkBar() = 0; | 178 virtual void ToggleBookmarkBar() = 0; |
| 179 | 179 |
| 180 // Shows or hides the extension shelf depending on its current visibility. | 180 // Shows or hides the extension shelf depending on its current visibility. |
| 181 virtual void ToggleExtensionShelf() = 0; | 181 virtual void ToggleExtensionShelf() = 0; |
| 182 | 182 |
| 183 // Shows the About Chrome dialog box. | 183 // Shows the About Chrome dialog box. |
| 184 virtual views::Window* ShowAboutChromeDialog() = 0; | 184 virtual views::Window* ShowAboutChromeDialog() = 0; |
| 185 | 185 |
| 186 // Shows the Update Recommended dialog box. |
| 187 virtual void ShowUpdateChromeDialog() = 0; |
| 188 |
| 186 // Shows the Task manager. | 189 // Shows the Task manager. |
| 187 virtual void ShowTaskManager() = 0; | 190 virtual void ShowTaskManager() = 0; |
| 188 | 191 |
| 189 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 192 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
| 190 // |already_bookmarked| is true if the url is already bookmarked. | 193 // |already_bookmarked| is true if the url is already bookmarked. |
| 191 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; | 194 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; |
| 192 | 195 |
| 193 // Whether or not the shelf view is visible. | 196 // Whether or not the shelf view is visible. |
| 194 virtual bool IsDownloadShelfVisible() const = 0; | 197 virtual bool IsDownloadShelfVisible() const = 0; |
| 195 | 198 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 350 |
| 348 // Returns the TabContentsContainer. | 351 // Returns the TabContentsContainer. |
| 349 virtual views::View* GetTabContentsContainerView() const = 0; | 352 virtual views::View* GetTabContentsContainerView() const = 0; |
| 350 | 353 |
| 351 // Returns the ToolbarView. | 354 // Returns the ToolbarView. |
| 352 virtual ToolbarView* GetToolbarView() const = 0; | 355 virtual ToolbarView* GetToolbarView() const = 0; |
| 353 #endif | 356 #endif |
| 354 }; | 357 }; |
| 355 | 358 |
| 356 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 359 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
| OLD | NEW |