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

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: cleanup 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
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 const gfx::Rect& rect) = 0; 365 const gfx::Rect& rect) = 0;
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( 375 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
376 AvatarBubbleMode mode, 376 const signin::ManageAccountsParams& manage_accounts_params) = 0;
377 signin::GAIAServiceType service_type) = 0;
378 377
379 // Show bubble for password generation positioned relative to |rect|. The 378 // Show bubble for password generation positioned relative to |rect|. The
380 // subclasses implementing this interface do not own the |password_generator| 379 // subclasses implementing this interface do not own the |password_generator|
381 // 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
382 // contains the password field that the bubble will be associated with. 381 // contains the password field that the bubble will be associated with.
383 virtual void ShowPasswordGenerationBubble( 382 virtual void ShowPasswordGenerationBubble(
384 const gfx::Rect& rect, 383 const gfx::Rect& rect,
385 const autofill::PasswordForm& form, 384 const autofill::PasswordForm& form,
386 autofill::PasswordGenerator* password_generator) = 0; 385 autofill::PasswordGenerator* password_generator) = 0;
387 386
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 437
439 // Returns the ToolbarView. 438 // Returns the ToolbarView.
440 virtual ToolbarView* GetToolbarView() const = 0; 439 virtual ToolbarView* GetToolbarView() const = 0;
441 #endif 440 #endif
442 441
443 protected: 442 protected:
444 virtual ~BrowserWindowTesting() {} 443 virtual ~BrowserWindowTesting() {}
445 }; 444 };
446 445
447 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 446 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698