| Index: public/platform/WebDeviceLightListener.h
|
| diff --git a/Source/core/speech/SpeechInputResultList.idl b/public/platform/WebDeviceLightListener.h
|
| similarity index 77%
|
| copy from Source/core/speech/SpeechInputResultList.idl
|
| copy to public/platform/WebDeviceLightListener.h
|
| index 878c5a6a049bde651d5e5069d20df3ad3f71763a..c275af1bbec9a9168578cabb02aafa031deab212 100644
|
| --- a/Source/core/speech/SpeechInputResultList.idl
|
| +++ b/public/platform/WebDeviceLightListener.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2010 Google Inc. All rights reserved.
|
| + * Copyright (C) 2014 Intel Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -23,12 +23,17 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -[
|
| - WillBeGarbageCollected,
|
| - NoInterfaceObject,
|
| - Conditional=INPUT_SPEECH
|
| -] interface SpeechInputResultList {
|
| - readonly attribute unsigned long length;
|
| - getter SpeechInputResult item(unsigned long index);
|
| +#ifndef WebDeviceLightListener_h
|
| +#define WebDeviceLightListener_h
|
| +
|
| +namespace blink {
|
| +
|
| +class WebDeviceLightListener {
|
| +public:
|
| + // This method is called every time new device light data is available.
|
| + virtual void didChangeDeviceLight(const double&) = 0;
|
| };
|
|
|
| +} // namespace blink
|
| +
|
| +#endif // WebDeviceLightListener_h
|
|
|