| 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 "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void ShowAboutChromeDialog(); | 58 virtual void ShowAboutChromeDialog(); |
| 59 virtual void ShowBookmarkManager(); | 59 virtual void ShowBookmarkManager(); |
| 60 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 60 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
| 61 virtual void ShowReportBugDialog(); | 61 virtual void ShowReportBugDialog(); |
| 62 virtual void ShowClearBrowsingDataDialog(); | 62 virtual void ShowClearBrowsingDataDialog(); |
| 63 virtual void ShowImportDialog(); | 63 virtual void ShowImportDialog(); |
| 64 virtual void ShowSearchEnginesDialog(); | 64 virtual void ShowSearchEnginesDialog(); |
| 65 virtual void ShowPasswordManager(); | 65 virtual void ShowPasswordManager(); |
| 66 virtual void ShowSelectProfileDialog(); | 66 virtual void ShowSelectProfileDialog(); |
| 67 virtual void ShowNewProfileDialog(); | 67 virtual void ShowNewProfileDialog(); |
| 68 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
| 68 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 69 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
| 69 void* parent_window); | 70 void* parent_window); |
| 70 | 71 |
| 71 protected: | 72 protected: |
| 72 virtual void DestroyBrowser(); | 73 virtual void DestroyBrowser(); |
| 73 | 74 |
| 74 private: | 75 private: |
| 75 Browser* browser_; | 76 Browser* browser_; |
| 76 BrowserWindowController* controller_; // weak, owns us | 77 BrowserWindowController* controller_; // weak, owns us |
| 77 NSWindow* window_; // weak, owned by |controller_| | 78 NSWindow* window_; // weak, owned by |controller_| |
| 78 // The status bubble manager. Always non-NULL. | 79 // The status bubble manager. Always non-NULL. |
| 79 scoped_ptr<StatusBubbleMac> status_bubble_; | 80 scoped_ptr<StatusBubbleMac> status_bubble_; |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 83 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |