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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCue.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) 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 25 matching lines...) Expand all
36 #include "core/html/HTMLDivElement.h" 36 #include "core/html/HTMLDivElement.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class ExceptionState; 41 class ExceptionState;
42 42
43 class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInli neData { 43 class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInli neData {
44 REFCOUNTED_EVENT_TARGET(TextTrackCue); 44 REFCOUNTED_EVENT_TARGET(TextTrackCue);
45 public: 45 public:
46 static bool isInfiniteOrNonNumber(double value, const char* method, Exceptio nState&); 46 static bool isInfiniteOrNonNumber(double value, ExceptionState&);
47 47
48 static const AtomicString& cueShadowPseudoId() 48 static const AtomicString& cueShadowPseudoId()
49 { 49 {
50 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const ructFromLiteral)); 50 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const ructFromLiteral));
51 return cue; 51 return cue;
52 } 52 }
53 53
54 virtual ~TextTrackCue() { } 54 virtual ~TextTrackCue() { }
55 55
56 TextTrack* track() const; 56 TextTrack* track() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 TextTrack* m_track; 107 TextTrack* m_track;
108 108
109 bool m_isActive; 109 bool m_isActive;
110 bool m_pauseOnExit; 110 bool m_pauseOnExit;
111 }; 111 };
112 112
113 } // namespace WebCore 113 } // namespace WebCore
114 114
115 #endif 115 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698