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

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

Issue 41343003: Remove dead code for reflected attributes on <audio>, <video> and <track> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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/HTMLTrackElement.cpp ('k') | Source/core/html/HTMLVideoElement.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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 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 20 matching lines...) Expand all
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class ExceptionState; 33 class ExceptionState;
34 class HTMLImageLoader; 34 class HTMLImageLoader;
35 35
36 class HTMLVideoElement FINAL : public HTMLMediaElement { 36 class HTMLVideoElement FINAL : public HTMLMediaElement {
37 public: 37 public:
38 static PassRefPtr<HTMLVideoElement> create(Document& document) { return crea te(HTMLNames::videoTag, document, false); } 38 static PassRefPtr<HTMLVideoElement> create(Document& document) { return crea te(HTMLNames::videoTag, document, false); }
39 static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document&, bool); 39 static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document&, bool);
40 40
41 unsigned width() const;
42 unsigned height() const;
43
44 unsigned videoWidth() const; 41 unsigned videoWidth() const;
45 unsigned videoHeight() const; 42 unsigned videoHeight() const;
46 43
47 // Fullscreen 44 // Fullscreen
48 void webkitEnterFullscreen(ExceptionState&); 45 void webkitEnterFullscreen(ExceptionState&);
49 void webkitExitFullscreen(); 46 void webkitExitFullscreen();
50 bool webkitSupportsFullscreen(); 47 bool webkitSupportsFullscreen();
51 bool webkitDisplayingFullscreen(); 48 bool webkitDisplayingFullscreen();
52 49
53 // Statistics 50 // Statistics
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 inline bool isHTMLVideoElement(const Element* element) 95 inline bool isHTMLVideoElement(const Element* element)
99 { 96 {
100 return element->hasTagName(HTMLNames::videoTag); 97 return element->hasTagName(HTMLNames::videoTag);
101 } 98 }
102 99
103 DEFINE_NODE_TYPE_CASTS(HTMLVideoElement, hasTagName(HTMLNames::videoTag)); 100 DEFINE_NODE_TYPE_CASTS(HTMLVideoElement, hasTagName(HTMLNames::videoTag));
104 101
105 } //namespace 102 } //namespace
106 103
107 #endif 104 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTrackElement.cpp ('k') | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698