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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 ToolbarActionsBar* GetToolbarActionsBar() override; | 95 ToolbarActionsBar* GetToolbarActionsBar() override; |
96 void ToolbarSizeChanged(bool is_animating) override; | 96 void ToolbarSizeChanged(bool is_animating) override; |
97 void FocusAppMenu() override; | 97 void FocusAppMenu() override; |
98 void FocusBookmarksToolbar() override; | 98 void FocusBookmarksToolbar() override; |
99 void FocusInfobars() override; | 99 void FocusInfobars() override; |
100 void RotatePaneFocus(bool forwards) override; | 100 void RotatePaneFocus(bool forwards) override; |
101 bool IsBookmarkBarVisible() const override; | 101 bool IsBookmarkBarVisible() const override; |
102 bool IsBookmarkBarAnimating() const override; | 102 bool IsBookmarkBarAnimating() const override; |
103 bool IsTabStripEditable() const override; | 103 bool IsTabStripEditable() const override; |
104 bool IsToolbarVisible() const override; | 104 bool IsToolbarVisible() const override; |
| 105 bool IsToolbarShowing() const override; |
105 void ShowUpdateChromeDialog() override; | 106 void ShowUpdateChromeDialog() override; |
106 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; | 107 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; |
107 void ShowBookmarkAppBubble( | 108 void ShowBookmarkAppBubble( |
108 const WebApplicationInfo& web_app_info, | 109 const WebApplicationInfo& web_app_info, |
109 const ShowBookmarkAppBubbleCallback& callback) override; | 110 const ShowBookmarkAppBubbleCallback& callback) override; |
110 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 111 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
111 content::WebContents* contents, | 112 content::WebContents* contents, |
112 autofill::SaveCardBubbleController* controller, | 113 autofill::SaveCardBubbleController* controller, |
113 bool user_gesture) override; | 114 bool user_gesture) override; |
114 ShowTranslateBubbleResult ShowTranslateBubble( | 115 ShowTranslateBubbleResult ShowTranslateBubble( |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 ui::WindowShowState initial_show_state_; | 194 ui::WindowShowState initial_show_state_; |
194 NSInteger attention_request_id_; // identifier from requestUserAttention | 195 NSInteger attention_request_id_; // identifier from requestUserAttention |
195 | 196 |
196 // Preserves window alert state to show appropriate icon in the window title | 197 // Preserves window alert state to show appropriate icon in the window title |
197 // which can be audio playing, muting or none (determined by alert state of | 198 // which can be audio playing, muting or none (determined by alert state of |
198 // tabs. | 199 // tabs. |
199 TabAlertState alert_state_; | 200 TabAlertState alert_state_; |
200 }; | 201 }; |
201 | 202 |
202 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 203 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |