summaryrefslogtreecommitdiffstats
path: root/ash/system/brightness/brightness_observer.h
blob: 0d2c532494347b33d2c75a3b25d2b137d3a4e732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_SYSTEM_BRIGHTNESS_BRIGHTNESS_OBSERVER_H_
#define ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_OBSERVER_H_

#include "ash/ash_export.h"

namespace ash {

class ASH_EXPORT BrightnessObserver {
 public:
  virtual ~BrightnessObserver() {}

  virtual void OnBrightnessChanged(float percent, bool user_initiated) = 0;
};

}  // namespace ash

#endif  // ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_OBSERVER_H_