| 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 | 7 |
| 8 #include "base/memory/scoped_nsobject.h" | 8 #include "base/memory/scoped_nsobject.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 84 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
| 85 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 85 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
| 86 virtual bool IsTabStripEditable() const OVERRIDE; | 86 virtual bool IsTabStripEditable() const OVERRIDE; |
| 87 virtual bool IsToolbarVisible() const OVERRIDE; | 87 virtual bool IsToolbarVisible() const OVERRIDE; |
| 88 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 88 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 89 virtual bool IsPanel() const OVERRIDE; | 89 virtual bool IsPanel() const OVERRIDE; |
| 90 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 90 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 91 Profile* profile) OVERRIDE; | 91 Profile* profile) OVERRIDE; |
| 92 virtual void ToggleBookmarkBar() OVERRIDE; | 92 virtual void ToggleBookmarkBar() OVERRIDE; |
| 93 virtual void ShowUpdateChromeDialog() OVERRIDE; | 93 virtual void ShowUpdateChromeDialog() OVERRIDE; |
| 94 virtual void ShowTaskManager(chrome::HostDesktopType desktop_type) OVERRIDE; | 94 virtual void ShowTaskManager() OVERRIDE; |
| 95 virtual void ShowBackgroundPages( | 95 virtual void ShowBackgroundPages() OVERRIDE; |
| 96 chrome::HostDesktopType desktop_type) OVERRIDE; | |
| 97 virtual void ShowBookmarkBubble(const GURL& url, | 96 virtual void ShowBookmarkBubble(const GURL& url, |
| 98 bool already_bookmarked) OVERRIDE; | 97 bool already_bookmarked) OVERRIDE; |
| 99 virtual void ShowChromeToMobileBubble() OVERRIDE; | 98 virtual void ShowChromeToMobileBubble() OVERRIDE; |
| 100 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 99 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 101 virtual void ShowOneClickSigninBubble( | 100 virtual void ShowOneClickSigninBubble( |
| 102 const StartSyncCallback& start_sync_callback) OVERRIDE; | 101 const StartSyncCallback& start_sync_callback) OVERRIDE; |
| 103 #endif | 102 #endif |
| 104 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 103 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 105 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 104 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 106 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; | 105 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 164 |
| 166 Browser* browser_; // weak, owned by controller | 165 Browser* browser_; // weak, owned by controller |
| 167 BrowserWindowController* controller_; // weak, owns us | 166 BrowserWindowController* controller_; // weak, owns us |
| 168 base::WeakPtrFactory<Browser> confirm_close_factory_; | 167 base::WeakPtrFactory<Browser> confirm_close_factory_; |
| 169 scoped_nsobject<NSString> pending_window_title_; | 168 scoped_nsobject<NSString> pending_window_title_; |
| 170 ui::WindowShowState initial_show_state_; | 169 ui::WindowShowState initial_show_state_; |
| 171 NSInteger attention_request_id_; // identifier from requestUserAttention | 170 NSInteger attention_request_id_; // identifier from requestUserAttention |
| 172 }; | 171 }; |
| 173 | 172 |
| 174 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 173 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |