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

Side by Side Diff: Source/core/html/HTMLSourceElement.h

Issue 14022022: FINALizing of the Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Action review comments. Created 7 years, 7 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 | « Source/core/html/HTMLScriptElement.h ('k') | Source/core/html/HTMLStyleElement.h » ('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) 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. 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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef HTMLSourceElement_h 26 #ifndef HTMLSourceElement_h
27 #define HTMLSourceElement_h 27 #define HTMLSourceElement_h
28 28
29 #include "HTMLElement.h" 29 #include "HTMLElement.h"
30 #include "core/platform/Timer.h" 30 #include "core/platform/Timer.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class HTMLSourceElement : public HTMLElement { 34 class HTMLSourceElement FINAL : public HTMLElement {
35 public: 35 public:
36 static PassRefPtr<HTMLSourceElement> create(const QualifiedName&, Document*) ; 36 static PassRefPtr<HTMLSourceElement> create(const QualifiedName&, Document*) ;
37 37
38 String media() const; 38 String media() const;
39 String type() const; 39 String type() const;
40 void setSrc(const String&); 40 void setSrc(const String&);
41 void setMedia(const String&); 41 void setMedia(const String&);
42 void setType(const String&); 42 void setType(const String&);
43 43
44 void scheduleErrorEvent(); 44 void scheduleErrorEvent();
45 void cancelPendingErrorEvent(); 45 void cancelPendingErrorEvent();
46 46
47 private: 47 private:
48 HTMLSourceElement(const QualifiedName&, Document*); 48 HTMLSourceElement(const QualifiedName&, Document*);
49 49
50 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 50 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
51 virtual void removedFrom(ContainerNode*) OVERRIDE; 51 virtual void removedFrom(ContainerNode*) OVERRIDE;
52 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 52 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
53 53
54 void errorEventTimerFired(Timer<HTMLSourceElement>*); 54 void errorEventTimerFired(Timer<HTMLSourceElement>*);
55 55
56 Timer<HTMLSourceElement> m_errorEventTimer; 56 Timer<HTMLSourceElement> m_errorEventTimer;
57 }; 57 };
58 58
59 } //namespace 59 } //namespace
60 60
61 #endif 61 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLScriptElement.h ('k') | Source/core/html/HTMLStyleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698