| 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/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual void UpdateTitleBar(); | 48 virtual void UpdateTitleBar(); |
| 49 virtual void BookmarkBarStateChanged( | 49 virtual void BookmarkBarStateChanged( |
| 50 BookmarkBar::AnimateChangeType change_type); | 50 BookmarkBar::AnimateChangeType change_type); |
| 51 virtual void UpdateDevTools(); | 51 virtual void UpdateDevTools(); |
| 52 virtual void UpdateLoadingAnimations(bool should_animate); | 52 virtual void UpdateLoadingAnimations(bool should_animate); |
| 53 virtual void SetStarredState(bool is_starred); | 53 virtual void SetStarredState(bool is_starred); |
| 54 virtual gfx::Rect GetRestoredBounds() const; | 54 virtual gfx::Rect GetRestoredBounds() const; |
| 55 virtual gfx::Rect GetBounds() const; | 55 virtual gfx::Rect GetBounds() const; |
| 56 virtual bool IsMaximized() const; | 56 virtual bool IsMaximized() const; |
| 57 virtual bool IsMinimized() const; | 57 virtual bool IsMinimized() const; |
| 58 virtual void Maximize() OVERRIDE; |
| 59 virtual void Minimize() OVERRIDE; |
| 60 virtual void Restore() OVERRIDE; |
| 58 virtual void EnterFullscreen( | 61 virtual void EnterFullscreen( |
| 59 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; | 62 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; |
| 60 virtual void ExitFullscreen() OVERRIDE; | 63 virtual void ExitFullscreen() OVERRIDE; |
| 61 virtual void UpdateFullscreenExitBubbleContent( | 64 virtual void UpdateFullscreenExitBubbleContent( |
| 62 const GURL& url, | 65 const GURL& url, |
| 63 FullscreenExitBubbleType bubble_type) OVERRIDE; | 66 FullscreenExitBubbleType bubble_type) OVERRIDE; |
| 64 virtual bool IsFullscreen() const; | 67 virtual bool IsFullscreen() const; |
| 65 virtual bool IsFullscreenBubbleVisible() const; | 68 virtual bool IsFullscreenBubbleVisible() const; |
| 66 virtual LocationBar* GetLocationBar() const; | 69 virtual LocationBar* GetLocationBar() const; |
| 67 virtual void SetFocusToLocationBar(bool select_all); | 70 virtual void SetFocusToLocationBar(bool select_all); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 content::NotificationRegistrar registrar_; | 148 content::NotificationRegistrar registrar_; |
| 146 PrefChangeRegistrar pref_change_registrar_; | 149 PrefChangeRegistrar pref_change_registrar_; |
| 147 Browser* browser_; // weak, owned by controller | 150 Browser* browser_; // weak, owned by controller |
| 148 BrowserWindowController* controller_; // weak, owns us | 151 BrowserWindowController* controller_; // weak, owns us |
| 149 base::WeakPtrFactory<Browser> confirm_close_factory_; | 152 base::WeakPtrFactory<Browser> confirm_close_factory_; |
| 150 scoped_nsobject<NSString> pending_window_title_; | 153 scoped_nsobject<NSString> pending_window_title_; |
| 151 ui::WindowShowState initial_show_state_; | 154 ui::WindowShowState initial_show_state_; |
| 152 }; | 155 }; |
| 153 | 156 |
| 154 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 157 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |