blob: 63b9a32b94ca3a1a0babc47e758c68ebabc27f32 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_PROFILES_AVATAR_MENU_ACTIONS_CHROMEOS_H_
#define CHROME_BROWSER_CHROMEOS_PROFILES_AVATAR_MENU_ACTIONS_CHROMEOS_H_
#include "chrome/browser/profiles/avatar_menu_actions.h"
#include <string>
class Browser;
namespace chromeos {
// This interface controls the behavior of avatar menu actions on ChromeOS.
class AvatarMenuActionsChromeOS : public AvatarMenuActions {
public:
AvatarMenuActionsChromeOS();
virtual ~AvatarMenuActionsChromeOS();
// AvatarMenuActions overrides:
virtual void AddNewProfile(ProfileMetrics::ProfileAdd type) override;
virtual void EditProfile(Profile* profile, size_t index) override;
virtual bool ShouldShowAddNewProfileLink() const override;
virtual bool ShouldShowEditProfileLink() const override;
virtual void ActiveBrowserChanged(Browser* browser) override;
private:
// Browser in which this avatar menu resides. Weak.
Browser* browser_;
DISALLOW_COPY_AND_ASSIGN(AvatarMenuActionsChromeOS);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_PROFILES_AVATAR_MENU_ACTIONS_CHROMEOS_H_