| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| index 43c820aeb4812fd0fac85db9a1f124b673d9f17a..984c9accd21aec2af4a5963a55519201f80ea07f 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| @@ -66,6 +66,12 @@ class BrowserNonClientFrameView : public views::NonClientFrameView,
|
| BrowserView* browser_view() const { return browser_view_; }
|
| BrowserFrame* frame() const { return frame_; }
|
|
|
| + // Updates the avatar button using the old or new UI based on the BrowserView
|
| + // type, and the presence of the --enable-new-avatar-menu flag. Calls either
|
| + // UpdateAvatarInfo() or UpdateNewStyleAvatarInfo() accordingly.
|
| + void UpdateAvatar(views::ButtonListener* listener,
|
| + const NewAvatarButton::AvatarButtonStyle style);
|
| +
|
| // Updates the title and icon of the avatar button.
|
| void UpdateAvatarInfo();
|
|
|
|
|