| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COCOA_BROWSER_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_nsobject.h" | 9 #include "base/memory/scoped_nsobject.h" |
| 10 #include "base/task.h" | 10 #include "base/task.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 Profile* profile); | 74 Profile* profile); |
| 75 virtual void ToggleBookmarkBar(); | 75 virtual void ToggleBookmarkBar(); |
| 76 virtual void ShowAboutChromeDialog(); | 76 virtual void ShowAboutChromeDialog(); |
| 77 virtual void ShowUpdateChromeDialog(); | 77 virtual void ShowUpdateChromeDialog(); |
| 78 virtual void ShowTaskManager(); | 78 virtual void ShowTaskManager(); |
| 79 virtual void ShowBackgroundPages(); | 79 virtual void ShowBackgroundPages(); |
| 80 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 80 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
| 81 virtual bool IsDownloadShelfVisible() const; | 81 virtual bool IsDownloadShelfVisible() const; |
| 82 virtual DownloadShelf* GetDownloadShelf(); | 82 virtual DownloadShelf* GetDownloadShelf(); |
| 83 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 83 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 84 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 84 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* wrapper); |
| 85 virtual void ShowThemeInstallBubble(); | 85 virtual void ShowThemeInstallBubble(); |
| 86 virtual void ConfirmBrowserCloseWithPendingDownloads(); | 86 virtual void ConfirmBrowserCloseWithPendingDownloads(); |
| 87 virtual gfx::NativeWindow ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 87 virtual gfx::NativeWindow ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
| 88 gfx::NativeWindow parent_window); | 88 gfx::NativeWindow parent_window); |
| 89 virtual void UserChangedTheme(); | 89 virtual void UserChangedTheme(); |
| 90 virtual int GetExtraRenderViewHeight() const; | 90 virtual int GetExtraRenderViewHeight() const; |
| 91 virtual void TabContentsFocused(TabContents* tab_contents); | 91 virtual void TabContentsFocused(TabContents* tab_contents); |
| 92 virtual void ShowPageInfo(Profile* profile, | 92 virtual void ShowPageInfo(Profile* profile, |
| 93 const GURL& url, | 93 const GURL& url, |
| 94 const NavigationEntry::SSLStatus& ssl, | 94 const NavigationEntry::SSLStatus& ssl, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void UpdateSidebarForContents(TabContents* tab_contents); | 136 void UpdateSidebarForContents(TabContents* tab_contents); |
| 137 | 137 |
| 138 NotificationRegistrar registrar_; | 138 NotificationRegistrar registrar_; |
| 139 Browser* browser_; // weak, owned by controller | 139 Browser* browser_; // weak, owned by controller |
| 140 BrowserWindowController* controller_; // weak, owns us | 140 BrowserWindowController* controller_; // weak, owns us |
| 141 ScopedRunnableMethodFactory<Browser> confirm_close_factory_; | 141 ScopedRunnableMethodFactory<Browser> confirm_close_factory_; |
| 142 scoped_nsobject<NSString> pending_window_title_; | 142 scoped_nsobject<NSString> pending_window_title_; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 145 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |