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

Unified Diff: Source/bindings/v8/custom/V8TextTrackCueCustom.cpp

Issue 69993003: Split VTTCue from TextTrackCue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test 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
« no previous file with comments | « Source/bindings/bindings.gypi ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8TextTrackCueCustom.cpp
diff --git a/Source/core/css/xhtmlmp.css b/Source/bindings/v8/custom/V8TextTrackCueCustom.cpp
similarity index 83%
copy from Source/core/css/xhtmlmp.css
copy to Source/bindings/v8/custom/V8TextTrackCueCustom.cpp
index 11ea1cf1a031cfbf2694983c810bab1f925d99ae..0ccc04e67607f955b3c68b25add624aa3cb50d8f 100644
--- a/Source/core/css/xhtmlmp.css
+++ b/Source/bindings/v8/custom/V8TextTrackCueCustom.cpp
@@ -27,11 +27,17 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* Default styles for XHTML Mobile Profile documents where they differ from html.css */
+#include "config.h"
+#include "V8TextTrackCue.h"
-@viewport {
- width: auto;
- /* Ideally these should be removed. Currently here to avoid test result regressions. */
- min-zoom: 0.25;
- max-zoom: 5;
+#include "V8VTTCue.h"
+#include "core/frame/UseCounter.h"
+
+namespace WebCore {
+
+v8::Handle<v8::Value> toV8(TextTrackCue* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+{
+ return toV8(toVTTCue(impl), creationContext, isolate);
}
+
+} // namespace WebCore
« no previous file with comments | « Source/bindings/bindings.gypi ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698