| 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_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_WINDOW_COCOA_H_ |
| 6 #define CHROME_BROWSER_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_WINDOW_COCOA_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/browser_window.h" | 8 #include "chrome/browser/browser_window.h" |
| 9 | 9 |
| 10 @class BrowserWindowController; | 10 @class BrowserWindowController; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 virtual void* GetNativeHandle(); | 29 virtual void* GetNativeHandle(); |
| 30 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 30 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
| 31 virtual StatusBubble* GetStatusBubble(); | 31 virtual StatusBubble* GetStatusBubble(); |
| 32 virtual void SelectedTabToolbarSizeChanged(bool is_animating); | 32 virtual void SelectedTabToolbarSizeChanged(bool is_animating); |
| 33 virtual void UpdateTitleBar(); | 33 virtual void UpdateTitleBar(); |
| 34 virtual void UpdateLoadingAnimations(bool should_animate); | 34 virtual void UpdateLoadingAnimations(bool should_animate); |
| 35 virtual void SetStarredState(bool is_starred); | 35 virtual void SetStarredState(bool is_starred); |
| 36 virtual gfx::Rect GetNormalBounds() const; | 36 virtual gfx::Rect GetNormalBounds() const; |
| 37 virtual bool IsMaximized() const; | 37 virtual bool IsMaximized() const; |
| 38 virtual LocationBar* GetLocationBar() const; | 38 virtual LocationBar* GetLocationBar() const; |
| 39 virtual void SetFocusToLocationBar(); |
| 39 virtual void UpdateStopGoState(bool is_loading); | 40 virtual void UpdateStopGoState(bool is_loading); |
| 40 virtual void UpdateToolbar(TabContents* contents, | 41 virtual void UpdateToolbar(TabContents* contents, |
| 41 bool should_restore_state); | 42 bool should_restore_state); |
| 42 virtual void FocusToolbar(); | 43 virtual void FocusToolbar(); |
| 43 virtual bool IsBookmarkBarVisible() const; | 44 virtual bool IsBookmarkBarVisible() const; |
| 44 virtual gfx::Rect GetRootWindowResizerRect() const; | 45 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 45 virtual void ToggleBookmarkBar(); | 46 virtual void ToggleBookmarkBar(); |
| 46 virtual void ShowAboutChromeDialog(); | 47 virtual void ShowAboutChromeDialog(); |
| 47 virtual void ShowBookmarkManager(); | 48 virtual void ShowBookmarkManager(); |
| 48 virtual bool IsBookmarkBubbleVisible() const; | 49 virtual bool IsBookmarkBubbleVisible() const; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 59 | 60 |
| 60 protected: | 61 protected: |
| 61 virtual void DestroyBrowser(); | 62 virtual void DestroyBrowser(); |
| 62 | 63 |
| 63 private: | 64 private: |
| 64 BrowserWindowController* controller_; // weak, owns us | 65 BrowserWindowController* controller_; // weak, owns us |
| 65 NSWindow* window_; // weak, owned by |controller_| | 66 NSWindow* window_; // weak, owned by |controller_| |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 #endif // CHROME_BROWSER_WINDOW_COCOA_H_ | 69 #endif // CHROME_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |