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