- Revision
- 122787
- Author
- [email protected]
- Date
- 2012-07-16 17:52:57 -0700 (Mon, 16 Jul 2012)
Log Message
Fix spelling of EnforceIFrameAllowFullScreenRequirement and ExemptIFrameAllowFullScreenRequirement.
https://bugs.webkit.org/show_bug.cgi?id=91437
Reviewed by Adrienne Walker.
Document contained spelling errors of 'FulScreen' instead of 'FullScreen'
for the FullScreenCheckType enumeration.
No test changes needed.
* dom/Document.cpp:
(WebCore::Document::requestFullScreenForElement):
* dom/Document.h:
* dom/Element.cpp:
(WebCore::Element::webkitRequestFullscreen):
(WebCore::Element::webkitRequestFullScreen):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::enterFullscreen):
* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlFullscreenButtonElement::defaultEventHandler):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (122786 => 122787)
--- trunk/Source/WebCore/ChangeLog 2012-07-17 00:48:54 UTC (rev 122786)
+++ trunk/Source/WebCore/ChangeLog 2012-07-17 00:52:57 UTC (rev 122787)
@@ -1,3 +1,26 @@
+2012-07-16 Vincent Scheib <[email protected]>
+
+ Fix spelling of EnforceIFrameAllowFullScreenRequirement and ExemptIFrameAllowFullScreenRequirement.
+ https://bugs.webkit.org/show_bug.cgi?id=91437
+
+ Reviewed by Adrienne Walker.
+
+ Document contained spelling errors of 'FulScreen' instead of 'FullScreen'
+ for the FullScreenCheckType enumeration.
+
+ No test changes needed.
+
+ * dom/Document.cpp:
+ (WebCore::Document::requestFullScreenForElement):
+ * dom/Document.h:
+ * dom/Element.cpp:
+ (WebCore::Element::webkitRequestFullscreen):
+ (WebCore::Element::webkitRequestFullScreen):
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::enterFullscreen):
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler):
+
2012-07-16 MORITA Hajime <[email protected]>
Comment on WebCore::HTMLMediaElement::childShouldCreateRenderer() should explain why
Modified: trunk/Source/WebCore/dom/Document.cpp (122786 => 122787)
--- trunk/Source/WebCore/dom/Document.cpp 2012-07-17 00:48:54 UTC (rev 122786)
+++ trunk/Source/WebCore/dom/Document.cpp 2012-07-17 00:52:57 UTC (rev 122787)
@@ -5374,7 +5374,7 @@
// The context object's node document, or an ancestor browsing context's document does not have
// the fullscreen enabled flag set.
- if (checkType == EnforceIFrameAllowFulScreenRequirement && !fullScreenIsAllowedForElement(element))
+ if (checkType == EnforceIFrameAllowFullScreenRequirement && !fullScreenIsAllowedForElement(element))
break;
// The context object's node document fullscreen element stack is not empty and its top element
Modified: trunk/Source/WebCore/dom/Document.h (122786 => 122787)
--- trunk/Source/WebCore/dom/Document.h 2012-07-17 00:48:54 UTC (rev 122786)
+++ trunk/Source/WebCore/dom/Document.h 2012-07-17 00:52:57 UTC (rev 122787)
@@ -1061,8 +1061,8 @@
Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement.get(); }
enum FullScreenCheckType {
- EnforceIFrameAllowFulScreenRequirement,
- ExemptIFrameAllowFulScreenRequirement,
+ EnforceIFrameAllowFullScreenRequirement,
+ ExemptIFrameAllowFullScreenRequirement,
};
void requestFullScreenForElement(Element*, unsigned short flags, FullScreenCheckType);
Modified: trunk/Source/WebCore/dom/Element.cpp (122786 => 122787)
--- trunk/Source/WebCore/dom/Element.cpp 2012-07-17 00:48:54 UTC (rev 122786)
+++ trunk/Source/WebCore/dom/Element.cpp 2012-07-17 00:52:57 UTC (rev 122787)
@@ -1858,12 +1858,12 @@
#if ENABLE(FULLSCREEN_API)
void Element::webkitRequestFullscreen()
{
- document()->requestFullScreenForElement(this, ALLOW_KEYBOARD_INPUT, Document::EnforceIFrameAllowFulScreenRequirement);
+ document()->requestFullScreenForElement(this, ALLOW_KEYBOARD_INPUT, Document::EnforceIFrameAllowFullScreenRequirement);
}
void Element::webkitRequestFullScreen(unsigned short flags)
{
- document()->requestFullScreenForElement(this, (flags | LEGACY_MOZILLA_REQUEST), Document::EnforceIFrameAllowFulScreenRequirement);
+ document()->requestFullScreenForElement(this, (flags | LEGACY_MOZILLA_REQUEST), Document::EnforceIFrameAllowFullScreenRequirement);
}
bool Element::containsFullScreenElement() const
Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (122786 => 122787)
--- trunk/Source/WebCore/html/HTMLMediaElement.cpp 2012-07-17 00:48:54 UTC (rev 122786)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp 2012-07-17 00:52:57 UTC (rev 122787)
@@ -3989,7 +3989,7 @@
#if ENABLE(FULLSCREEN_API)
if (document() && document()->settings() && document()->settings()->fullScreenEnabled()) {
- document()->requestFullScreenForElement(this, 0, Document::ExemptIFrameAllowFulScreenRequirement);
+ document()->requestFullScreenForElement(this, 0, Document::ExemptIFrameAllowFullScreenRequirement);
return;
}
#endif
Modified: trunk/Source/WebCore/html/shadow/MediaControlElements.cpp (122786 => 122787)
--- trunk/Source/WebCore/html/shadow/MediaControlElements.cpp 2012-07-17 00:48:54 UTC (rev 122786)
+++ trunk/Source/WebCore/html/shadow/MediaControlElements.cpp 2012-07-17 00:52:57 UTC (rev 122787)
@@ -1010,7 +1010,7 @@
if (document()->webkitIsFullScreen() && document()->webkitCurrentFullScreenElement() == toParentMediaElement(this))
document()->webkitCancelFullScreen();
else
- document()->requestFullScreenForElement(toParentMediaElement(this), 0, Document::ExemptIFrameAllowFulScreenRequirement);
+ document()->requestFullScreenForElement(toParentMediaElement(this), 0, Document::ExemptIFrameAllowFullScreenRequirement);
} else
#endif
mediaController()->enterFullscreen();