1 // Copyright 2013 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_PROFILES_AVATAR_MENU_ACTIONS_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_PROFILES_AVATAR_MENU_ACTIONS_CHROMEOS_H_
8 #include "chrome/browser/profiles/avatar_menu_actions.h"
16 // This interface controls the behavior of avatar menu actions on ChromeOS.
17 class AvatarMenuActionsChromeOS
: public AvatarMenuActions
{
19 AvatarMenuActionsChromeOS();
20 ~AvatarMenuActionsChromeOS() override
;
22 // AvatarMenuActions overrides:
23 void AddNewProfile(ProfileMetrics::ProfileAdd type
) override
;
24 void EditProfile(Profile
* profile
, size_t index
) override
;
25 bool ShouldShowAddNewProfileLink() const override
;
26 bool ShouldShowEditProfileLink() const override
;
27 void ActiveBrowserChanged(Browser
* browser
) override
;
30 // Browser in which this avatar menu resides. Weak.
33 DISALLOW_COPY_AND_ASSIGN(AvatarMenuActionsChromeOS
);
36 } // namespace chromeos
38 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_AVATAR_MENU_ACTIONS_CHROMEOS_H_