| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual bool IsDownloadShelfVisible() const; | 68 virtual bool IsDownloadShelfVisible() const; |
| 69 virtual DownloadShelf* GetDownloadShelf(); | 69 virtual DownloadShelf* GetDownloadShelf(); |
| 70 virtual void ShowReportBugDialog(); | 70 virtual void ShowReportBugDialog(); |
| 71 virtual void ShowClearBrowsingDataDialog(); | 71 virtual void ShowClearBrowsingDataDialog(); |
| 72 virtual void ShowImportDialog(); | 72 virtual void ShowImportDialog(); |
| 73 virtual void ShowSearchEnginesDialog(); | 73 virtual void ShowSearchEnginesDialog(); |
| 74 virtual void ShowPasswordManager(); | 74 virtual void ShowPasswordManager(); |
| 75 virtual void ShowSelectProfileDialog(); | 75 virtual void ShowSelectProfileDialog(); |
| 76 virtual void ShowNewProfileDialog(); | 76 virtual void ShowNewProfileDialog(); |
| 77 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 77 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 78 virtual void ShowHistoryTooNewDialog(); | 78 virtual void ShowProfileErrorDialog(int message_id); |
| 79 virtual void ShowThemeInstallBubble(); | 79 virtual void ShowThemeInstallBubble(); |
| 80 virtual void ConfirmBrowserCloseWithPendingDownloads(); | 80 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
| 81 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 81 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
| 82 gfx::NativeWindow parent_window); | 82 gfx::NativeWindow parent_window); |
| 83 virtual void UserChangedTheme(); | 83 virtual void UserChangedTheme(); |
| 84 virtual int GetExtraRenderViewHeight() const; | 84 virtual int GetExtraRenderViewHeight() const; |
| 85 virtual void TabContentsFocused(TabContents* tab_contents); | 85 virtual void TabContentsFocused(TabContents* tab_contents); |
| 86 virtual void ShowPageInfo(Profile* profile, | 86 virtual void ShowPageInfo(Profile* profile, |
| 87 const GURL& url, | 87 const GURL& url, |
| 88 const NavigationEntry::SSLStatus& ssl, | 88 const NavigationEntry::SSLStatus& ssl, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 106 virtual void DestroyBrowser(); | 106 virtual void DestroyBrowser(); |
| 107 | 107 |
| 108 private: | 108 private: |
| 109 NotificationRegistrar registrar_; | 109 NotificationRegistrar registrar_; |
| 110 NSWindow* window_; // weak, owned by controller | 110 NSWindow* window_; // weak, owned by controller |
| 111 Browser* browser_; // weak, owned by controller | 111 Browser* browser_; // weak, owned by controller |
| 112 BrowserWindowController* controller_; // weak, owns us | 112 BrowserWindowController* controller_; // weak, owns us |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 115 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |