Commit ea11ee66 authored by weinig@apple.com's avatar weinig@apple.com

Fix typo: Diplaying -> Displaying

Reviewed by Geoffrey "Error" Garen.

* UIProcess/API/C/WKFrame.cpp:
(WKFrameIsDisplayingStandaloneImageDocument):
(WKFrameIsDisplayingMarkupDocument):
* UIProcess/API/C/WKFrame.h:
* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::canProvideSource):
(WebKit::WebFrameProxy::isDisplayingStandaloneImageDocument):
(WebKit::WebFrameProxy::isDisplayingMarkupDocument):
* UIProcess/WebFrameProxy.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 570769ae
2010-12-08 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey "Error" Garen.
Fix typo: Diplaying -> Displaying
* UIProcess/API/C/WKFrame.cpp:
(WKFrameIsDisplayingStandaloneImageDocument):
(WKFrameIsDisplayingMarkupDocument):
* UIProcess/API/C/WKFrame.h:
* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::canProvideSource):
(WebKit::WebFrameProxy::isDisplayingStandaloneImageDocument):
(WebKit::WebFrameProxy::isDisplayingMarkupDocument):
* UIProcess/WebFrameProxy.h:
2010-12-08 Sam Weinig <sam@webkit.org>
Reviewed by Gavin Barraclough.
......@@ -96,14 +96,14 @@ bool WKFrameCanShowMIMEType(WKFrameRef frameRef, WKStringRef mimeTypeRef)
return toImpl(frameRef)->canShowMIMEType(toWTFString(mimeTypeRef));
}
bool WKFrameIsDiplayingStandaloneImageDocument(WKFrameRef frameRef)
bool WKFrameIsDisplayingStandaloneImageDocument(WKFrameRef frameRef)
{
return toImpl(frameRef)->isDiplayingStandaloneImageDocument();
return toImpl(frameRef)->isDisplayingStandaloneImageDocument();
}
bool WKFrameIsDiplayingMarkupDocument(WKFrameRef frameRef)
bool WKFrameIsDisplayingMarkupDocument(WKFrameRef frameRef)
{
return toImpl(frameRef)->isDiplayingMarkupDocument();
return toImpl(frameRef)->isDisplayingMarkupDocument();
}
bool WKFrameIsFrameSet(WKFrameRef frameRef)
......
......@@ -61,8 +61,8 @@ WK_EXPORT WKCertificateInfoRef WKFrameGetCertificateInfo(WKFrameRef frame);
WK_EXPORT bool WKFrameCanProvideSource(WKFrameRef frame);
WK_EXPORT bool WKFrameCanShowMIMEType(WKFrameRef frame, WKStringRef mimeType);
WK_EXPORT bool WKFrameIsDiplayingStandaloneImageDocument(WKFrameRef frame);
WK_EXPORT bool WKFrameIsDiplayingMarkupDocument(WKFrameRef frame);
WK_EXPORT bool WKFrameIsDisplayingStandaloneImageDocument(WKFrameRef frame);
WK_EXPORT bool WKFrameIsDisplayingMarkupDocument(WKFrameRef frame);
WK_EXPORT bool WKFrameIsFrameSet(WKFrameRef frame);
......
......@@ -74,7 +74,7 @@ void WebFrameProxy::setCertificateInfo(PassRefPtr<WebCertificateInfo> certificat
bool WebFrameProxy::canProvideSource() const
{
return isDiplayingMarkupDocument();
return isDisplayingMarkupDocument();
}
bool WebFrameProxy::canShowMIMEType(const String& mimeType) const
......@@ -94,12 +94,12 @@ bool WebFrameProxy::canShowMIMEType(const String& mimeType) const
return false;
}
bool WebFrameProxy::isDiplayingStandaloneImageDocument() const
bool WebFrameProxy::isDisplayingStandaloneImageDocument() const
{
return Image::supportsType(m_MIMEType);
}
bool WebFrameProxy::isDiplayingMarkupDocument() const
bool WebFrameProxy::isDisplayingMarkupDocument() const
{
// FIXME: This check should be moved to somewhere in WebCore.
return m_MIMEType == "text/html" || m_MIMEType == "image/svg+xml" || DOMImplementation::isXMLMIMEType(m_MIMEType);
......
......@@ -90,8 +90,8 @@ public:
bool canProvideSource() const;
bool canShowMIMEType(const String& mimeType) const;
bool isDiplayingStandaloneImageDocument() const;
bool isDiplayingMarkupDocument() const;
bool isDisplayingStandaloneImageDocument() const;
bool isDisplayingMarkupDocument() const;
void didStartProvisionalLoad(const String& url);
void didReceiveServerRedirectForProvisionalLoad(const String& url);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment