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 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual void Close(); | 33 virtual void Close(); |
34 virtual void Activate(); | 34 virtual void Activate(); |
35 virtual bool IsActive() const; | 35 virtual bool IsActive() const; |
36 virtual void FlashFrame(); | 36 virtual void FlashFrame(); |
37 virtual gfx::NativeWindow GetNativeHandle(); | 37 virtual gfx::NativeWindow GetNativeHandle(); |
38 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 38 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
39 virtual StatusBubble* GetStatusBubble(); | 39 virtual StatusBubble* GetStatusBubble(); |
40 virtual void SelectedTabToolbarSizeChanged(bool is_animating); | 40 virtual void SelectedTabToolbarSizeChanged(bool is_animating); |
41 virtual void UpdateTitleBar(); | 41 virtual void UpdateTitleBar(); |
42 virtual void UpdateDevTools(); | 42 virtual void UpdateDevTools(); |
| 43 virtual void FocusDevTools(); |
43 virtual void UpdateLoadingAnimations(bool should_animate); | 44 virtual void UpdateLoadingAnimations(bool should_animate); |
44 virtual void SetStarredState(bool is_starred); | 45 virtual void SetStarredState(bool is_starred); |
45 virtual gfx::Rect GetNormalBounds() const; | 46 virtual gfx::Rect GetNormalBounds() const; |
46 virtual bool IsMaximized() const; | 47 virtual bool IsMaximized() const; |
47 virtual void SetFullscreen(bool fullscreen); | 48 virtual void SetFullscreen(bool fullscreen); |
48 virtual bool IsFullscreen() const; | 49 virtual bool IsFullscreen() const; |
49 virtual LocationBar* GetLocationBar() const; | 50 virtual LocationBar* GetLocationBar() const; |
50 virtual void SetFocusToLocationBar(); | 51 virtual void SetFocusToLocationBar(); |
51 virtual void UpdateStopGoState(bool is_loading, bool force); | 52 virtual void UpdateStopGoState(bool is_loading, bool force); |
52 virtual void UpdateToolbar(TabContents* contents, | 53 virtual void UpdateToolbar(TabContents* contents, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 BrowserWindowController* controller_; // weak, owns us | 96 BrowserWindowController* controller_; // weak, owns us |
96 | 97 |
97 // Data for shelves and stuff ------------------------------------------------ | 98 // Data for shelves and stuff ------------------------------------------------ |
98 // FIXME(thakis): This should probably in the controller on OS X. | 99 // FIXME(thakis): This should probably in the controller on OS X. |
99 | 100 |
100 // The download shelf view (view at the bottom of the page). | 101 // The download shelf view (view at the bottom of the page). |
101 scoped_ptr<DownloadShelf> download_shelf_; | 102 scoped_ptr<DownloadShelf> download_shelf_; |
102 }; | 103 }; |
103 | 104 |
104 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 105 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |