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

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

Issue 240453006: Fix sign-in error strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extract separate CLs, fix new avatar button Created 6 years, 7 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/translate/translate_tab_helper.h" 10 #include "chrome/browser/translate/translate_tab_helper.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 // Shows the avatar bubble inside |web_contents|. The bubble is positioned 360 // Shows the avatar bubble inside |web_contents|. The bubble is positioned
361 // relative to |rect|. |rect| should be in the |web_contents| coordinate 361 // relative to |rect|. |rect| should be in the |web_contents| coordinate
362 // system. 362 // system.
363 virtual void ShowAvatarBubble(content::WebContents* web_contents, 363 virtual void ShowAvatarBubble(content::WebContents* web_contents,
364 const gfx::Rect& rect) = 0; 364 const gfx::Rect& rect) = 0;
365 365
366 // Shows the avatar bubble on the window frame off of the avatar button with 366 // Shows the avatar bubble on the window frame off of the avatar button with
367 // the given mode. 367 // the given mode.
368 enum AvatarBubbleMode { 368 enum AvatarBubbleMode {
369 AVATAR_BUBBLE_MODE_DEFAULT, 369 AVATAR_BUBBLE_MODE_DEFAULT,
370 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT 370 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT,
371 AVATAR_BUBBLE_MODE_SIGNIN,
372 AVATAR_BUBBLE_MODE_REAUTH
371 }; 373 };
372 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) = 0; 374 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) = 0;
373 375
374 // Show bubble for password generation positioned relative to |rect|. The 376 // Show bubble for password generation positioned relative to |rect|. The
375 // subclasses implementing this interface do not own the |password_generator| 377 // subclasses implementing this interface do not own the |password_generator|
376 // object which is passed to generate the password. |form| is the form that 378 // object which is passed to generate the password. |form| is the form that
377 // contains the password field that the bubble will be associated with. 379 // contains the password field that the bubble will be associated with.
378 virtual void ShowPasswordGenerationBubble( 380 virtual void ShowPasswordGenerationBubble(
379 const gfx::Rect& rect, 381 const gfx::Rect& rect,
380 const autofill::PasswordForm& form, 382 const autofill::PasswordForm& form,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 435
434 // Returns the ToolbarView. 436 // Returns the ToolbarView.
435 virtual ToolbarView* GetToolbarView() const = 0; 437 virtual ToolbarView* GetToolbarView() const = 0;
436 #endif 438 #endif
437 439
438 protected: 440 protected:
439 virtual ~BrowserWindowTesting() {} 441 virtual ~BrowserWindowTesting() {}
440 }; 442 };
441 443
442 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 444 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698