| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MediaSettingsRange_h | 5 #ifndef MediaSettingsRange_h |
| 6 #define MediaSettingsRange_h | 6 #define MediaSettingsRange_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "media/capture/mojo/image_capture.mojom-blink.h" | 8 #include "media/capture/mojo/image_capture.mojom-blink.h" |
| 9 #include "platform/bindings/ScriptWrappable.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class MediaSettingsRange final : public GarbageCollected<MediaSettingsRange>, | 13 class MediaSettingsRange final : public GarbageCollected<MediaSettingsRange>, |
| 14 public ScriptWrappable { | 14 public ScriptWrappable { |
| 15 DEFINE_WRAPPERTYPEINFO(); | 15 DEFINE_WRAPPERTYPEINFO(); |
| 16 | 16 |
| 17 public: | 17 public: |
| 18 static MediaSettingsRange* Create(double max, double min, double step) { | 18 static MediaSettingsRange* Create(double max, double min, double step) { |
| 19 return new MediaSettingsRange(max, min, step); | 19 return new MediaSettingsRange(max, min, step); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 36 : max_(max), min_(min), step_(step) {} | 36 : max_(max), min_(min), step_(step) {} |
| 37 | 37 |
| 38 double max_; | 38 double max_; |
| 39 double min_; | 39 double min_; |
| 40 double step_; | 40 double step_; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace blink | 43 } // namespace blink |
| 44 | 44 |
| 45 #endif // MediaSettingsRange_h | 45 #endif // MediaSettingsRange_h |
| OLD | NEW |