| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 FindBar* CreateFindBar() override; | 158 FindBar* CreateFindBar() override; |
| 159 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 159 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 160 override; | 160 override; |
| 161 void ShowAvatarBubbleFromAvatarButton( | 161 void ShowAvatarBubbleFromAvatarButton( |
| 162 AvatarBubbleMode mode, | 162 AvatarBubbleMode mode, |
| 163 const signin::ManageAccountsParams& manage_accounts_params, | 163 const signin::ManageAccountsParams& manage_accounts_params, |
| 164 signin_metrics::AccessPoint access_point) override; | 164 signin_metrics::AccessPoint access_point) override; |
| 165 void ShowModalSigninWindow(AvatarBubbleMode mode, | 165 void ShowModalSigninWindow(AvatarBubbleMode mode, |
| 166 signin_metrics::AccessPoint access_point) override; | 166 signin_metrics::AccessPoint access_point) override; |
| 167 void CloseModalSigninWindow() override; | 167 void CloseModalSigninWindow() override; |
| 168 void ShowModalSyncConfirmationWindow(); |
| 168 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 169 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
| 169 void ExecuteExtensionCommand(const extensions::Extension* extension, | 170 void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 170 const extensions::Command& command) override; | 171 const extensions::Command& command) override; |
| 171 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 172 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
| 172 | 173 |
| 173 // ExclusiveAccessContext interface | 174 // ExclusiveAccessContext interface |
| 174 Profile* GetProfile() override; | 175 Profile* GetProfile() override; |
| 175 content::WebContents* GetActiveWebContents() override; | 176 content::WebContents* GetActiveWebContents() override; |
| 176 void UnhideDownloadShelf() override; | 177 void UnhideDownloadShelf() override; |
| 177 void HideDownloadShelf() override; | 178 void HideDownloadShelf() override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 ui::WindowShowState initial_show_state_; | 214 ui::WindowShowState initial_show_state_; |
| 214 NSInteger attention_request_id_; // identifier from requestUserAttention | 215 NSInteger attention_request_id_; // identifier from requestUserAttention |
| 215 | 216 |
| 216 // Preserves window media state to show appropriate icon in the window title | 217 // Preserves window media state to show appropriate icon in the window title |
| 217 // which can be audio playing, muting or none (determined by media state of | 218 // which can be audio playing, muting or none (determined by media state of |
| 218 // tabs. | 219 // tabs. |
| 219 TabMediaState media_state_; | 220 TabMediaState media_state_; |
| 220 }; | 221 }; |
| 221 | 222 |
| 222 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 223 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |