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/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 10 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 gfx::Rect GetBounds() const override; | 75 gfx::Rect GetBounds() const override; |
76 gfx::Size GetContentsSize() const override; | 76 gfx::Size GetContentsSize() const override; |
77 bool IsMaximized() const override; | 77 bool IsMaximized() const override; |
78 bool IsMinimized() const override; | 78 bool IsMinimized() const override; |
79 void Maximize() override; | 79 void Maximize() override; |
80 void Minimize() override; | 80 void Minimize() override; |
81 void Restore() override; | 81 void Restore() override; |
82 bool ShouldHideUIForFullscreen() const override; | 82 bool ShouldHideUIForFullscreen() const override; |
83 bool IsFullscreen() const override; | 83 bool IsFullscreen() const override; |
84 bool IsFullscreenBubbleVisible() const override; | 84 bool IsFullscreenBubbleVisible() const override; |
85 void ShowNewBackShortcutBubble(bool forward) override; | 85 void MaybeShowNewBackShortcutBubble(bool forward) override; |
| 86 void HideNewBackShortcutBubble() override; |
86 LocationBar* GetLocationBar() const override; | 87 LocationBar* GetLocationBar() const override; |
87 void SetFocusToLocationBar(bool select_all) override; | 88 void SetFocusToLocationBar(bool select_all) override; |
88 void UpdateReloadStopState(bool is_loading, bool force) override; | 89 void UpdateReloadStopState(bool is_loading, bool force) override; |
89 void UpdateToolbar(content::WebContents* contents) override; | 90 void UpdateToolbar(content::WebContents* contents) override; |
90 void ResetToolbarTabState(content::WebContents* contents) override; | 91 void ResetToolbarTabState(content::WebContents* contents) override; |
91 void FocusToolbar() override; | 92 void FocusToolbar() override; |
92 ToolbarActionsBar* GetToolbarActionsBar() override; | 93 ToolbarActionsBar* GetToolbarActionsBar() override; |
93 void ToolbarSizeChanged(bool is_animating) override; | 94 void ToolbarSizeChanged(bool is_animating) override; |
94 void FocusAppMenu() override; | 95 void FocusAppMenu() override; |
95 void FocusBookmarksToolbar() override; | 96 void FocusBookmarksToolbar() override; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // which can be audio playing, muting or none (determined by alert state of | 203 // which can be audio playing, muting or none (determined by alert state of |
203 // tabs. | 204 // tabs. |
204 TabAlertState alert_state_; | 205 TabAlertState alert_state_; |
205 | 206 |
206 // True when the controlled window invokes -windowWillClose:, and it may no | 207 // True when the controlled window invokes -windowWillClose:, and it may no |
207 // longer be safe to access [controller_ window]. | 208 // longer be safe to access [controller_ window]. |
208 bool window_closed_; | 209 bool window_closed_; |
209 }; | 210 }; |
210 | 211 |
211 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 212 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |