| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 virtual void ToggleBookmarkBar() OVERRIDE; | 92 virtual void ToggleBookmarkBar() OVERRIDE; |
| 93 virtual void ShowAboutChromeDialog() OVERRIDE; | 93 virtual void ShowAboutChromeDialog() OVERRIDE; |
| 94 virtual void ShowUpdateChromeDialog() OVERRIDE; | 94 virtual void ShowUpdateChromeDialog() OVERRIDE; |
| 95 virtual void ShowTaskManager() OVERRIDE; | 95 virtual void ShowTaskManager() OVERRIDE; |
| 96 virtual void ShowBackgroundPages() OVERRIDE; | 96 virtual void ShowBackgroundPages() OVERRIDE; |
| 97 virtual void ShowBookmarkBubble(const GURL& url, | 97 virtual void ShowBookmarkBubble(const GURL& url, |
| 98 bool already_bookmarked) OVERRIDE; | 98 bool already_bookmarked) OVERRIDE; |
| 99 virtual void ShowChromeToMobileBubble() OVERRIDE; | 99 virtual void ShowChromeToMobileBubble() OVERRIDE; |
| 100 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 100 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 101 virtual void ShowOneClickSigninBubble( | 101 virtual void ShowOneClickSigninBubble( |
| 102 const base::Closure& learn_more_callback, | 102 const StartSyncCallback& start_sync_callback) OVERRIDE; |
| 103 const base::Closure& advanced_callback) OVERRIDE; | |
| 104 #endif | 103 #endif |
| 105 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 104 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 106 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 105 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 107 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; | 106 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; |
| 108 virtual void UserChangedTheme() OVERRIDE; | 107 virtual void UserChangedTheme() OVERRIDE; |
| 109 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 108 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
| 110 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; | 109 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; |
| 111 virtual void ShowPageInfo(Profile* profile, | 110 virtual void ShowPageInfo(Profile* profile, |
| 112 const GURL& url, | 111 const GURL& url, |
| 113 const content::SSLStatus& ssl, | 112 const content::SSLStatus& ssl, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 PrefChangeRegistrar pref_change_registrar_; | 167 PrefChangeRegistrar pref_change_registrar_; |
| 169 Browser* browser_; // weak, owned by controller | 168 Browser* browser_; // weak, owned by controller |
| 170 BrowserWindowController* controller_; // weak, owns us | 169 BrowserWindowController* controller_; // weak, owns us |
| 171 base::WeakPtrFactory<Browser> confirm_close_factory_; | 170 base::WeakPtrFactory<Browser> confirm_close_factory_; |
| 172 scoped_nsobject<NSString> pending_window_title_; | 171 scoped_nsobject<NSString> pending_window_title_; |
| 173 ui::WindowShowState initial_show_state_; | 172 ui::WindowShowState initial_show_state_; |
| 174 NSInteger attention_request_id_; // identifier from requestUserAttention | 173 NSInteger attention_request_id_; // identifier from requestUserAttention |
| 175 }; | 174 }; |
| 176 | 175 |
| 177 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 176 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |