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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 void ToolbarSizeChanged(bool is_animating) override; | 92 void ToolbarSizeChanged(bool is_animating) override; |
93 void FocusAppMenu() override; | 93 void FocusAppMenu() override; |
94 void FocusBookmarksToolbar() override; | 94 void FocusBookmarksToolbar() override; |
95 void FocusInfobars() override; | 95 void FocusInfobars() override; |
96 void RotatePaneFocus(bool forwards) override; | 96 void RotatePaneFocus(bool forwards) override; |
97 bool IsBookmarkBarVisible() const override; | 97 bool IsBookmarkBarVisible() const override; |
98 bool IsBookmarkBarAnimating() const override; | 98 bool IsBookmarkBarAnimating() const override; |
99 bool IsTabStripEditable() const override; | 99 bool IsTabStripEditable() const override; |
100 bool IsToolbarVisible() const override; | 100 bool IsToolbarVisible() const override; |
101 gfx::Rect GetRootWindowResizerRect() const override; | 101 gfx::Rect GetRootWindowResizerRect() const override; |
102 void ConfirmAddSearchProvider(TemplateURL* template_url, | |
103 Profile* profile) override; | |
104 void ShowUpdateChromeDialog() override; | 102 void ShowUpdateChromeDialog() override; |
105 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; | 103 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; |
106 void ShowBookmarkAppBubble( | 104 void ShowBookmarkAppBubble( |
107 const WebApplicationInfo& web_app_info, | 105 const WebApplicationInfo& web_app_info, |
108 const ShowBookmarkAppBubbleCallback& callback) override; | 106 const ShowBookmarkAppBubbleCallback& callback) override; |
109 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 107 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
110 content::WebContents* contents, | 108 content::WebContents* contents, |
111 autofill::SaveCardBubbleController* controller, | 109 autofill::SaveCardBubbleController* controller, |
112 bool user_gesture) override; | 110 bool user_gesture) override; |
113 void ShowTranslateBubble(content::WebContents* contents, | 111 void ShowTranslateBubble(content::WebContents* contents, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 ui::WindowShowState initial_show_state_; | 194 ui::WindowShowState initial_show_state_; |
197 NSInteger attention_request_id_; // identifier from requestUserAttention | 195 NSInteger attention_request_id_; // identifier from requestUserAttention |
198 | 196 |
199 // 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 |
200 // 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 |
201 // tabs. | 199 // tabs. |
202 TabAlertState alert_state_; | 200 TabAlertState alert_state_; |
203 }; | 201 }; |
204 | 202 |
205 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 203 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |