Chromium Code Reviews| Index: Source/core/css/CSSGridLineNamesValue.h |
| diff --git a/Source/modules/mediasource/HTMLVideoElementMediaSource.h b/Source/core/css/CSSGridLineNamesValue.h |
| similarity index 73% |
| copy from Source/modules/mediasource/HTMLVideoElementMediaSource.h |
| copy to Source/core/css/CSSGridLineNamesValue.h |
| index 72adceb386307679902a1f32656b4c03caf3cca7..825357fd45595cacb50c7f6df7721ddb0a10dbf1 100644 |
| --- a/Source/modules/mediasource/HTMLVideoElementMediaSource.h |
| +++ b/Source/core/css/CSSGridLineNamesValue.h |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (C) 2013 Google Inc. All rights reserved. |
| + * Copyright (C) 2013 Igalia, S.L. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions are |
| @@ -28,25 +28,33 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef HTMLVideoElementMediaSource_h |
| -#define HTMLVideoElementMediaSource_h |
| +#ifndef CSSGridLineNamesValue_h |
| +#define CSSGridLineNamesValue_h |
|
Julien - ping for review
2013/11/21 22:50:35
We should prevent git cl from being too smart for
|
| +#include "core/css/CSSValueList.h" |
| #include "wtf/PassRefPtr.h" |
| namespace WebCore { |
| -class HTMLVideoElement; |
| -class VideoPlaybackQuality; |
| - |
| -class HTMLVideoElementMediaSource { |
| +class CSSGridLineNamesValue : public CSSValueList { |
| public: |
| - static PassRefPtr<VideoPlaybackQuality> getVideoPlaybackQuality(HTMLVideoElement*); |
| + static PassRefPtr<CSSGridLineNamesValue> create() |
| + { |
| + return adoptRef(new CSSGridLineNamesValue()); |
| + } |
| + |
| + String customCSSText() const; |
| + |
| + PassRefPtr<CSSGridLineNamesValue> cloneForCSSOM() const; |
| private: |
| - HTMLVideoElementMediaSource(); |
| - ~HTMLVideoElementMediaSource(); |
| + CSSGridLineNamesValue(); |
| + explicit CSSGridLineNamesValue(CSSParserValueList*); |
|
Julien - ping for review
2013/11/21 22:50:35
This constructor is not used (nor defined).
|
| }; |
| +DEFINE_CSS_VALUE_TYPE_CASTS(CSSGridLineNamesValue, isGridLineNamesValue()); |
| + |
| } |
| + |
|
Julien - ping for review
2013/11/21 22:50:35
Nit: Extra empty space
|
| #endif |