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

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

Issue 345533005: Parse extra parameters on x-chrome-manage-accounts header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months 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 | Annotate | Revision Log
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/signin_header_helper.h" 10 #include "chrome/browser/signin/signin_header_helper.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 366
367 // Shows the avatar bubble on the window frame off of the avatar button with 367 // Shows the avatar bubble on the window frame off of the avatar button with
368 // the given mode. The Service Type specified by GAIA is provided as well. 368 // the given mode. The Service Type specified by GAIA is provided as well.
369 enum AvatarBubbleMode { 369 enum AvatarBubbleMode {
370 AVATAR_BUBBLE_MODE_DEFAULT, 370 AVATAR_BUBBLE_MODE_DEFAULT,
371 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, 371 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT,
372 AVATAR_BUBBLE_MODE_SIGNIN, 372 AVATAR_BUBBLE_MODE_SIGNIN,
373 AVATAR_BUBBLE_MODE_REAUTH, 373 AVATAR_BUBBLE_MODE_REAUTH,
374 }; 374 };
375 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, 375 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
376 signin::GAIAServiceType service_type) = 0; 376 const signin::ManageAccountsParams& manage_accounts_params) = 0;
377 377
378 // Show bubble for password generation positioned relative to |rect|. The 378 // Show bubble for password generation positioned relative to |rect|. The
379 // subclasses implementing this interface do not own the |password_generator| 379 // subclasses implementing this interface do not own the |password_generator|
380 // object which is passed to generate the password. |form| is the form that 380 // object which is passed to generate the password. |form| is the form that
381 // contains the password field that the bubble will be associated with. 381 // contains the password field that the bubble will be associated with.
382 virtual void ShowPasswordGenerationBubble( 382 virtual void ShowPasswordGenerationBubble(
383 const gfx::Rect& rect, 383 const gfx::Rect& rect,
384 const autofill::PasswordForm& form, 384 const autofill::PasswordForm& form,
385 autofill::PasswordGenerator* password_generator) = 0; 385 autofill::PasswordGenerator* password_generator) = 0;
386 386
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 437
438 // Returns the ToolbarView. 438 // Returns the ToolbarView.
439 virtual ToolbarView* GetToolbarView() const = 0; 439 virtual ToolbarView* GetToolbarView() const = 0;
440 #endif 440 #endif
441 441
442 protected: 442 protected:
443 virtual ~BrowserWindowTesting() {} 443 virtual ~BrowserWindowTesting() {}
444 }; 444 };
445 445
446 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 446 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698