Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 1413533009: Make the new Gaia password separated signin flow modal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac build Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/chrome_signin_helper.h" 10 #include "chrome/browser/signin/chrome_signin_helper.h"
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 AVATAR_BUBBLE_MODE_SIGNIN, 380 AVATAR_BUBBLE_MODE_SIGNIN,
381 AVATAR_BUBBLE_MODE_ADD_ACCOUNT, 381 AVATAR_BUBBLE_MODE_ADD_ACCOUNT,
382 AVATAR_BUBBLE_MODE_REAUTH, 382 AVATAR_BUBBLE_MODE_REAUTH,
383 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN, 383 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN,
384 AVATAR_BUBBLE_MODE_SHOW_ERROR, 384 AVATAR_BUBBLE_MODE_SHOW_ERROR,
385 AVATAR_BUBBLE_MODE_FAST_USER_SWITCH, 385 AVATAR_BUBBLE_MODE_FAST_USER_SWITCH,
386 }; 386 };
387 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, 387 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
388 const signin::ManageAccountsParams& manage_accounts_params) = 0; 388 const signin::ManageAccountsParams& manage_accounts_params) = 0;
389 389
390 virtual void ShowModalSigninWindow(AvatarBubbleMode mode) = 0;
Robert Sesek 2015/11/24 23:27:34 This should have a comment, as most of the other m
anthonyvd 2015/11/25 18:49:31 Done.
391 virtual void CloseModalSigninWindow() = 0;
392
390 // Returns the height inset for RenderView when detached bookmark bar is 393 // Returns the height inset for RenderView when detached bookmark bar is
391 // shown. Invoked when a new RenderHostView is created for a non-NTP 394 // shown. Invoked when a new RenderHostView is created for a non-NTP
392 // navigation entry and the bookmark bar is detached. 395 // navigation entry and the bookmark bar is detached.
393 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0; 396 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0;
394 397
395 // Executes |command| registered by |extension|. 398 // Executes |command| registered by |extension|.
396 virtual void ExecuteExtensionCommand(const extensions::Extension* extension, 399 virtual void ExecuteExtensionCommand(const extensions::Extension* extension,
397 const extensions::Command& command) = 0; 400 const extensions::Command& command) = 0;
398 401
399 // Returns object implementing ExclusiveAccessContext interface. 402 // Returns object implementing ExclusiveAccessContext interface.
400 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; 403 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
401 404
402 protected: 405 protected:
403 friend class BrowserCloseManager; 406 friend class BrowserCloseManager;
404 friend class BrowserView; 407 friend class BrowserView;
405 virtual void DestroyBrowser() = 0; 408 virtual void DestroyBrowser() = 0;
406 }; 409 };
407 410
408 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 411 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698