1// Copyright 2014 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. 4 5#ifndef WebDeviceLightListener_h 6#define WebDeviceLightListener_h 7 8#include "WebPlatformEventListener.h" 9 10namespace blink { 11 12class WebDeviceLightListener : public WebPlatformEventListener { 13public: 14 // This method is called every time new device light data is available. 15 virtual void didChangeDeviceLight(double) = 0; 16 17 virtual ~WebDeviceLightListener() { } 18}; 19 20} // namespace blink 21 22#endif // WebDeviceLightListener_h 23