Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: Source/core/css/CSSGridLineNamesValue.h

Issue 23528004: [CSS Grid Layout] Update named grid lines syntax to the last version of the specs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@named
Patch Set: Final patch for landing Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698