| 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_COCOA_BROWSER_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/browser_window.h" | 8 #include "chrome/browser/browser_window.h" |
| 9 #include "chrome/browser/bookmarks/bookmark_model.h" | 9 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 virtual void SelectedTabToolbarSizeChanged(bool is_animating); | 37 virtual void SelectedTabToolbarSizeChanged(bool is_animating); |
| 38 virtual void UpdateTitleBar(); | 38 virtual void UpdateTitleBar(); |
| 39 virtual void UpdateLoadingAnimations(bool should_animate); | 39 virtual void UpdateLoadingAnimations(bool should_animate); |
| 40 virtual void SetStarredState(bool is_starred); | 40 virtual void SetStarredState(bool is_starred); |
| 41 virtual gfx::Rect GetNormalBounds() const; | 41 virtual gfx::Rect GetNormalBounds() const; |
| 42 virtual bool IsMaximized() const; | 42 virtual bool IsMaximized() const; |
| 43 virtual void SetFullscreen(bool fullscreen); | 43 virtual void SetFullscreen(bool fullscreen); |
| 44 virtual bool IsFullscreen() const; | 44 virtual bool IsFullscreen() const; |
| 45 virtual LocationBar* GetLocationBar() const; | 45 virtual LocationBar* GetLocationBar() const; |
| 46 virtual void SetFocusToLocationBar(); | 46 virtual void SetFocusToLocationBar(); |
| 47 virtual void UpdateStopGoState(bool is_loading); | 47 virtual void UpdateStopGoState(bool is_loading, bool force); |
| 48 virtual void UpdateToolbar(TabContents* contents, | 48 virtual void UpdateToolbar(TabContents* contents, |
| 49 bool should_restore_state); | 49 bool should_restore_state); |
| 50 virtual void FocusToolbar(); | 50 virtual void FocusToolbar(); |
| 51 virtual bool IsBookmarkBarVisible() const; | 51 virtual bool IsBookmarkBarVisible() const; |
| 52 virtual gfx::Rect GetRootWindowResizerRect() const; | 52 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 53 virtual void ToggleBookmarkBar(); | 53 virtual void ToggleBookmarkBar(); |
| 54 virtual void ShowFindBar(); | 54 virtual void ShowFindBar(); |
| 55 virtual void ShowAboutChromeDialog(); | 55 virtual void ShowAboutChromeDialog(); |
| 56 virtual void ShowBookmarkManager(); | 56 virtual void ShowBookmarkManager(); |
| 57 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 57 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 69 protected: | 69 protected: |
| 70 virtual void DestroyBrowser(); | 70 virtual void DestroyBrowser(); |
| 71 | 71 |
| 72 private: | 72 private: |
| 73 NSWindow* window_; // weak, owned by controller | 73 NSWindow* window_; // weak, owned by controller |
| 74 Browser* browser_; // weak, owned by controller | 74 Browser* browser_; // weak, owned by controller |
| 75 BrowserWindowController* controller_; // weak, owns us | 75 BrowserWindowController* controller_; // weak, owns us |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 78 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |