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

Side by Side Diff: chrome/browser/ui/views/profiles/win10_native_avatar_button.h

Issue 2851543002: Update avatar button to MD (part 1) (Closed)
Patch Set: More review changes Created 3 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_WIN10_NATIVE_AVATAR_BUTTON_H_
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_WIN10_NATIVE_AVATAR_BUTTON_H_
7
8 #include "chrome/browser/ui/views/profiles/avatar_button.h"
9 #include "chrome/browser/ui/views/profiles/avatar_button_style.h"
10 #include "ui/views/controls/button/menu_button_listener.h"
11
12 class Win10NativeAvatarButton : public AvatarButton {
13 public:
14 Win10NativeAvatarButton(views::MenuButtonListener* listener,
15 Profile* profile);
16 ~Win10NativeAvatarButton() override;
17
18 protected:
19 gfx::Size GetMinimumSize() const override;
Evan Stade 2017/05/02 15:49:20 nit: these are also overrides and I guess it's bes
emx 2017/05/03 17:10:59 Done.
20 gfx::Size GetPreferredSize() const override;
21 std::unique_ptr<views::InkDropHighlight> CreateInkDropHighlight()
22 const override;
23
24 // LabelButton:
25 bool UseFloodFillInkDrop() const override;
26
27 private:
28 std::unique_ptr<views::Border> CreateBorder() const;
29
30 DISALLOW_COPY_AND_ASSIGN(Win10NativeAvatarButton);
31 };
32
33 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_WIN10_NATIVE_AVATAR_BUTTON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698