blob: 1b0829fa0e9bdbfd881f5fe8d3bd0a52dc2d44ff [file] [log] [blame]
// Copyright (c) 2012 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 ASH_WALLPAPER_WALLPAPER_CONTROLLER_OBSERVER_H_
#define ASH_WALLPAPER_WALLPAPER_CONTROLLER_OBSERVER_H_
#include "ash/ash_export.h"
namespace ash {
class ASH_EXPORT WallpaperControllerObserver {
public:
// Invoked when the wallpaper data is changed.
virtual void OnWallpaperDataChanged() = 0;
// Invoked when the colors extracted from the current wallpaper change. May
// be called as a side effect of changing the wallpaper on the
// WallpaperController, e.g. WallpaperController::SetWallpaperImage().
virtual void OnWallpaperColorsChanged() {}
// Invoked when the blur state of the wallpaper changes.
virtual void OnWallpaperBlurChanged() {}
protected:
virtual ~WallpaperControllerObserver() {}
};
} // namespace ash
#endif // ASH_WALLPAPER_WALLPAPER_CONTROLLER_OBSERVER_H_