| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/browser/lifetime/browser_close_manager.h" | 10 #include "chrome/browser/lifetime/browser_close_manager.h" |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 AVATAR_BUBBLE_MODE_SIGNIN, | 360 AVATAR_BUBBLE_MODE_SIGNIN, |
| 361 AVATAR_BUBBLE_MODE_ADD_ACCOUNT, | 361 AVATAR_BUBBLE_MODE_ADD_ACCOUNT, |
| 362 AVATAR_BUBBLE_MODE_REAUTH, | 362 AVATAR_BUBBLE_MODE_REAUTH, |
| 363 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN, | 363 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN, |
| 364 AVATAR_BUBBLE_MODE_SHOW_ERROR, | 364 AVATAR_BUBBLE_MODE_SHOW_ERROR, |
| 365 AVATAR_BUBBLE_MODE_FAST_USER_SWITCH, | 365 AVATAR_BUBBLE_MODE_FAST_USER_SWITCH, |
| 366 }; | 366 }; |
| 367 virtual void ShowAvatarBubbleFromAvatarButton( | 367 virtual void ShowAvatarBubbleFromAvatarButton( |
| 368 AvatarBubbleMode mode, | 368 AvatarBubbleMode mode, |
| 369 const signin::ManageAccountsParams& manage_accounts_params, | 369 const signin::ManageAccountsParams& manage_accounts_params, |
| 370 signin_metrics::AccessPoint access_point) = 0; | 370 signin_metrics::AccessPoint access_point, |
| 371 bool is_source_keyboard) = 0; |
| 371 | 372 |
| 372 // Returns the height inset for RenderView when detached bookmark bar is | 373 // Returns the height inset for RenderView when detached bookmark bar is |
| 373 // shown. Invoked when a new RenderHostView is created for a non-NTP | 374 // shown. Invoked when a new RenderHostView is created for a non-NTP |
| 374 // navigation entry and the bookmark bar is detached. | 375 // navigation entry and the bookmark bar is detached. |
| 375 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0; | 376 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0; |
| 376 | 377 |
| 377 // Executes |command| registered by |extension|. | 378 // Executes |command| registered by |extension|. |
| 378 virtual void ExecuteExtensionCommand(const extensions::Extension* extension, | 379 virtual void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 379 const extensions::Command& command) = 0; | 380 const extensions::Command& command) = 0; |
| 380 | 381 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 392 virtual std::string GetWorkspace() const = 0; | 393 virtual std::string GetWorkspace() const = 0; |
| 393 virtual bool IsVisibleOnAllWorkspaces() const = 0; | 394 virtual bool IsVisibleOnAllWorkspaces() const = 0; |
| 394 | 395 |
| 395 protected: | 396 protected: |
| 396 friend class BrowserCloseManager; | 397 friend class BrowserCloseManager; |
| 397 friend class BrowserView; | 398 friend class BrowserView; |
| 398 virtual void DestroyBrowser() = 0; | 399 virtual void DestroyBrowser() = 0; |
| 399 }; | 400 }; |
| 400 | 401 |
| 401 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 402 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |