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

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: Revert Logging 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
Index: Source/core/html/track/TextTrackCue.h
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h
index 92047be060160fb2648b8ed768a129920592262e..96e45bdc079c2f72918c48355a70addfe75ce635 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);
@@ -228,9 +227,7 @@ private:
Position,
Size,
Align,
-#if ENABLE(WEBVTT_REGIONS)
RegionId
-#endif
};
CueSetting settingName(const String&);
@@ -272,9 +269,8 @@ private:
int m_displaySize;
std::pair<float, float> m_displayPosition;
-#if ENABLE(WEBVTT_REGIONS)
String m_regionId;
-#endif
+ bool m_notifyRegion;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698