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

Side by Side Diff: Source/core/html/track/TextTrack.cpp

Issue 60203008: Remove the mode getter/setter for in-band text tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 TextTrack::TextTrack(Document& document, TextTrackClient* client, const AtomicSt ring& kind, const AtomicString& label, const AtomicString& language, TextTrackTy pe type) 97 TextTrack::TextTrack(Document& document, TextTrackClient* client, const AtomicSt ring& kind, const AtomicString& label, const AtomicString& language, TextTrackTy pe type)
98 : TrackBase(TrackBase::TextTrack) 98 : TrackBase(TrackBase::TextTrack)
99 , m_cues(0) 99 , m_cues(0)
100 , m_regions(0) 100 , m_regions(0)
101 , m_document(&document) 101 , m_document(&document)
102 , m_mediaElement(0) 102 , m_mediaElement(0)
103 , m_label(label) 103 , m_label(label)
104 , m_language(language) 104 , m_language(language)
105 , m_mode(disabledKeyword().string()) 105 , m_mode(disabledKeyword())
106 , m_client(client) 106 , m_client(client)
107 , m_trackType(type) 107 , m_trackType(type)
108 , m_readinessState(NotLoaded) 108 , m_readinessState(NotLoaded)
109 , m_trackIndex(invalidTrackIndex) 109 , m_trackIndex(invalidTrackIndex)
110 , m_renderedTrackIndex(invalidTrackIndex) 110 , m_renderedTrackIndex(invalidTrackIndex)
111 , m_hasBeenConfigured(false) 111 , m_hasBeenConfigured(false)
112 { 112 {
113 ScriptWrappable::init(this); 113 ScriptWrappable::init(this);
114 setKind(kind); 114 setKind(kind);
115 } 115 }
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 return EventTargetNames::TextTrack; 480 return EventTargetNames::TextTrack;
481 } 481 }
482 482
483 ExecutionContext* TextTrack::executionContext() const 483 ExecutionContext* TextTrack::executionContext() const
484 { 484 {
485 return m_document; 485 return m_document;
486 } 486 }
487 487
488 } // namespace WebCore 488 } // namespace WebCore
489 489
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrack.h ('k') | Source/platform/graphics/media/InbandTextTrackPrivate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698