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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 bool IsToolbarShowing() const override; |
106 void ShowUpdateChromeDialog() override; | 106 void ShowUpdateChromeDialog() override; |
107 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; | 107 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; |
108 void ShowBookmarkAppBubble( | |
109 const WebApplicationInfo& web_app_info, | |
110 const ShowBookmarkAppBubbleCallback& callback) override; | |
111 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 108 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
112 content::WebContents* contents, | 109 content::WebContents* contents, |
113 autofill::SaveCardBubbleController* controller, | 110 autofill::SaveCardBubbleController* controller, |
114 bool user_gesture) override; | 111 bool user_gesture) override; |
115 ShowTranslateBubbleResult ShowTranslateBubble( | 112 ShowTranslateBubbleResult ShowTranslateBubble( |
116 content::WebContents* contents, | 113 content::WebContents* contents, |
117 translate::TranslateStep step, | 114 translate::TranslateStep step, |
118 translate::TranslateErrors::Type error_type, | 115 translate::TranslateErrors::Type error_type, |
119 bool is_user_gesture) override; | 116 bool is_user_gesture) override; |
120 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) | 117 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 ui::WindowShowState initial_show_state_; | 191 ui::WindowShowState initial_show_state_; |
195 NSInteger attention_request_id_; // identifier from requestUserAttention | 192 NSInteger attention_request_id_; // identifier from requestUserAttention |
196 | 193 |
197 // Preserves window alert state to show appropriate icon in the window title | 194 // Preserves window alert state to show appropriate icon in the window title |
198 // which can be audio playing, muting or none (determined by alert state of | 195 // which can be audio playing, muting or none (determined by alert state of |
199 // tabs. | 196 // tabs. |
200 TabAlertState alert_state_; | 197 TabAlertState alert_state_; |
201 }; | 198 }; |
202 | 199 |
203 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 200 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |