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

Unified Diff: Source/core/html/track/TextTrackCue.h

Issue 25798003: Enable WebVTT regions for runtime testing, updated tests and minor fixes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 2 months 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/core/html/track/TextTrack.idl ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCue.h
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h
index eabb5cb2c23cac6e182145f9aedcd8bc07b3e54e..53d81eea8ee790d972fca29c14e0a4c0792bd89b 100644
--- a/Source/core/html/track/TextTrackCue.h
+++ b/Source/core/html/track/TextTrackCue.h
@@ -132,10 +132,9 @@ public:
using EventTarget::dispatchEvent;
virtual bool dispatchEvent(PassRefPtr<Event>) OVERRIDE;
-#if ENABLE(WEBVTT_REGIONS)
const String& regionId() const { return m_regionId; }
void setRegionId(const String&);
-#endif
+ void notifyRegionWhenRemovingDisplayTree(bool);
bool isActive();
void setIsActive(bool);
@@ -229,9 +228,7 @@ private:
Position,
Size,
Align,
-#if ENABLE(WEBVTT_REGIONS)
RegionId
-#endif
};
CueSetting settingName(const String&);
@@ -269,9 +266,8 @@ private:
int m_displaySize;
std::pair<float, float> m_displayPosition;
-#if ENABLE(WEBVTT_REGIONS)
String m_regionId;
-#endif
+ bool m_notifyRegion;
};
} // namespace WebCore
« no previous file with comments | « Source/core/html/track/TextTrack.idl ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698