OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COCOA_BROWSER_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
7 | 7 |
8 #include "chrome/browser/browser_window.h" | 8 #include "chrome/browser/browser_window.h" |
9 #include "chrome/browser/bookmarks/bookmark_model.h" | 9 #include "chrome/browser/bookmarks/bookmark_model.h" |
10 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual LocationBar* GetLocationBar() const; | 48 virtual LocationBar* GetLocationBar() const; |
49 virtual void SetFocusToLocationBar(); | 49 virtual void SetFocusToLocationBar(); |
50 virtual void UpdateStopGoState(bool is_loading, bool force); | 50 virtual void UpdateStopGoState(bool is_loading, bool force); |
51 virtual void UpdateToolbar(TabContents* contents, | 51 virtual void UpdateToolbar(TabContents* contents, |
52 bool should_restore_state); | 52 bool should_restore_state); |
53 virtual void FocusToolbar(); | 53 virtual void FocusToolbar(); |
54 virtual bool IsBookmarkBarVisible() const; | 54 virtual bool IsBookmarkBarVisible() const; |
55 virtual gfx::Rect GetRootWindowResizerRect() const; | 55 virtual gfx::Rect GetRootWindowResizerRect() const; |
56 virtual void ToggleBookmarkBar(); | 56 virtual void ToggleBookmarkBar(); |
57 virtual void ShowAboutChromeDialog(); | 57 virtual void ShowAboutChromeDialog(); |
| 58 virtual void ShowTaskManager(); |
58 virtual void ShowBookmarkManager(); | 59 virtual void ShowBookmarkManager(); |
59 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 60 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
60 virtual bool IsDownloadShelfVisible() const; | 61 virtual bool IsDownloadShelfVisible() const; |
61 virtual DownloadShelf* GetDownloadShelf(); | 62 virtual DownloadShelf* GetDownloadShelf(); |
62 virtual void ShowReportBugDialog(); | 63 virtual void ShowReportBugDialog(); |
63 virtual void ShowClearBrowsingDataDialog(); | 64 virtual void ShowClearBrowsingDataDialog(); |
64 virtual void ShowImportDialog(); | 65 virtual void ShowImportDialog(); |
65 virtual void ShowSearchEnginesDialog(); | 66 virtual void ShowSearchEnginesDialog(); |
66 virtual void ShowPasswordManager(); | 67 virtual void ShowPasswordManager(); |
67 virtual void ShowSelectProfileDialog(); | 68 virtual void ShowSelectProfileDialog(); |
(...skipping 23 matching lines...) Expand all Loading... |
91 BrowserWindowController* controller_; // weak, owns us | 92 BrowserWindowController* controller_; // weak, owns us |
92 | 93 |
93 // Data for shelves and stuff ------------------------------------------------ | 94 // Data for shelves and stuff ------------------------------------------------ |
94 // FIXME(thakis): This should probably in the controller on OS X. | 95 // FIXME(thakis): This should probably in the controller on OS X. |
95 | 96 |
96 // The download shelf view (view at the bottom of the page). | 97 // The download shelf view (view at the bottom of the page). |
97 scoped_ptr<DownloadShelf> download_shelf_; | 98 scoped_ptr<DownloadShelf> download_shelf_; |
98 }; | 99 }; |
99 | 100 |
100 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 101 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |