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

Side by Side Diff: Source/core/html/track/TextTrackCue.h

Issue 869623002: VTTCue: Refactor display parameter handling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 int cueIndex(); 73 int cueIndex();
74 void invalidateCueIndex(); 74 void invalidateCueIndex();
75 75
76 using EventTarget::dispatchEvent; 76 using EventTarget::dispatchEvent;
77 virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override; 77 virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
78 78
79 bool isActive(); 79 bool isActive();
80 void setIsActive(bool); 80 void setIsActive(bool);
81 81
82 virtual void updateDisplay(const IntSize& videoSize, HTMLDivElement& contain er) = 0; 82 virtual void updateDisplay(HTMLDivElement& container) = 0;
83 83
84 // FIXME: Consider refactoring to eliminate or merge the following three mem bers. 84 // FIXME: Consider refactoring to eliminate or merge the following three mem bers.
85 // https://code.google.com/p/chromium/issues/detail?id=322434 85 // https://code.google.com/p/chromium/issues/detail?id=322434
86 virtual void updateDisplayTree(double movieTime) = 0; 86 virtual void updateDisplayTree(double movieTime) = 0;
87 virtual void removeDisplayTree() = 0; 87 virtual void removeDisplayTree() = 0;
88 virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) = 0; 88 virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) = 0;
89 89
90 virtual const AtomicString& interfaceName() const override; 90 virtual const AtomicString& interfaceName() const override;
91 91
92 #ifndef NDEBUG 92 #ifndef NDEBUG
(...skipping 19 matching lines...) Expand all
112 112
113 RawPtrWillBeMember<TextTrack> m_track; 113 RawPtrWillBeMember<TextTrack> m_track;
114 114
115 bool m_isActive : 1; 115 bool m_isActive : 1;
116 bool m_pauseOnExit : 1; 116 bool m_pauseOnExit : 1;
117 }; 117 };
118 118
119 } // namespace blink 119 } // namespace blink
120 120
121 #endif // TextTrackCue_h 121 #endif // TextTrackCue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698