| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // |access_point| indicates the access point used to open the Gaia sign in | 345 // |access_point| indicates the access point used to open the Gaia sign in |
| 346 // page. | 346 // page. |
| 347 enum AvatarBubbleMode { | 347 enum AvatarBubbleMode { |
| 348 AVATAR_BUBBLE_MODE_DEFAULT, | 348 AVATAR_BUBBLE_MODE_DEFAULT, |
| 349 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, | 349 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, |
| 350 AVATAR_BUBBLE_MODE_SIGNIN, | 350 AVATAR_BUBBLE_MODE_SIGNIN, |
| 351 AVATAR_BUBBLE_MODE_ADD_ACCOUNT, | 351 AVATAR_BUBBLE_MODE_ADD_ACCOUNT, |
| 352 AVATAR_BUBBLE_MODE_REAUTH, | 352 AVATAR_BUBBLE_MODE_REAUTH, |
| 353 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN, | 353 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN, |
| 354 AVATAR_BUBBLE_MODE_SHOW_ERROR, | 354 AVATAR_BUBBLE_MODE_SHOW_ERROR, |
| 355 AVATAR_BUBBLE_MODE_FAST_USER_SWITCH, | |
| 356 }; | 355 }; |
| 357 virtual void ShowAvatarBubbleFromAvatarButton( | 356 virtual void ShowAvatarBubbleFromAvatarButton( |
| 358 AvatarBubbleMode mode, | 357 AvatarBubbleMode mode, |
| 359 const signin::ManageAccountsParams& manage_accounts_params, | 358 const signin::ManageAccountsParams& manage_accounts_params, |
| 360 signin_metrics::AccessPoint access_point, | 359 signin_metrics::AccessPoint access_point, |
| 361 bool is_source_keyboard) = 0; | 360 bool is_source_keyboard) = 0; |
| 362 | 361 |
| 363 // Returns the height inset for RenderView when detached bookmark bar is | 362 // Returns the height inset for RenderView when detached bookmark bar is |
| 364 // shown. Invoked when a new RenderHostView is created for a non-NTP | 363 // shown. Invoked when a new RenderHostView is created for a non-NTP |
| 365 // navigation entry and the bookmark bar is detached. | 364 // navigation entry and the bookmark bar is detached. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 383 virtual std::string GetWorkspace() const = 0; | 382 virtual std::string GetWorkspace() const = 0; |
| 384 virtual bool IsVisibleOnAllWorkspaces() const = 0; | 383 virtual bool IsVisibleOnAllWorkspaces() const = 0; |
| 385 | 384 |
| 386 protected: | 385 protected: |
| 387 friend class BrowserCloseManager; | 386 friend class BrowserCloseManager; |
| 388 friend class BrowserView; | 387 friend class BrowserView; |
| 389 virtual void DestroyBrowser() = 0; | 388 virtual void DestroyBrowser() = 0; |
| 390 }; | 389 }; |
| 391 | 390 |
| 392 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 391 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |