Commit 58e0bc75 authored by Jacobo Aragunde Pérez's avatar Jacobo Aragunde Pérez Committed by Chromium LUCI CQ

Add metadata to ProfileMenuView classes.

Bug: None
Change-Id: I0a0764d6edb19dfb548f05209013b69feaa9b64b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2601360Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
Commit-Queue: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Cr-Commit-Position: refs/heads/master@{#841451}
parent 72f4fe58
......@@ -63,6 +63,7 @@
#include "ui/native_theme/native_theme.h"
#include "ui/strings/grit/ui_strings.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/metadata/metadata_impl_macros.h"
namespace {
......@@ -744,3 +745,7 @@ void ProfileMenuView::BuildProfileManagementFeatureButtons() {
}
}
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
BEGIN_METADATA(ProfileMenuView, ProfileMenuViewBase)
ADD_READONLY_PROPERTY_METADATA(gfx::ImageSkia, SyncIcon)
END_METADATA
......@@ -33,6 +33,8 @@ class Browser;
// It displays a list of profiles and allows users to switch between profiles.
class ProfileMenuView : public ProfileMenuViewBase {
public:
METADATA_HEADER(ProfileMenuView);
ProfileMenuView(views::Button* anchor_button, Browser* browser);
~ProfileMenuView() override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment