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

Side by Side Diff: Source/core/html/track/vtt/VTTCue.h

Issue 869173002: VTTCue: Remove dead exception throwing code in setLine/setPosition (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
« no previous file with comments | « no previous file | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 virtual ~VTTCue(); 72 virtual ~VTTCue();
73 73
74 const String& vertical() const; 74 const String& vertical() const;
75 void setVertical(const String&); 75 void setVertical(const String&);
76 76
77 bool snapToLines() const { return m_snapToLines; } 77 bool snapToLines() const { return m_snapToLines; }
78 void setSnapToLines(bool); 78 void setSnapToLines(bool);
79 79
80 void line(DoubleOrAutoKeyword&) const; 80 void line(DoubleOrAutoKeyword&) const;
81 void setLine(const DoubleOrAutoKeyword&, ExceptionState&); 81 void setLine(const DoubleOrAutoKeyword&);
82 82
83 void position(DoubleOrAutoKeyword&) const; 83 void position(DoubleOrAutoKeyword&) const;
84 void setPosition(const DoubleOrAutoKeyword&, ExceptionState&); 84 void setPosition(const DoubleOrAutoKeyword&, ExceptionState&);
85 85
86 double size() const { return m_cueSize; } 86 double size() const { return m_cueSize; }
87 void setSize(double, ExceptionState&); 87 void setSize(double, ExceptionState&);
88 88
89 const String& align() const; 89 const String& align() const;
90 void setAlign(const String&); 90 void setAlign(const String&);
91 91
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 bool m_displayTreeShouldChange : 1; 196 bool m_displayTreeShouldChange : 1;
197 bool m_notifyRegion : 1; 197 bool m_notifyRegion : 1;
198 }; 198 };
199 199
200 // VTTCue is currently the only TextTrackCue subclass. 200 // VTTCue is currently the only TextTrackCue subclass.
201 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); 201 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true);
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif // VTTCue_h 205 #endif // VTTCue_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698