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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 462353003: Cleanup namespace usage in Source/web[A-V]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor updates Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/FindInPageCoordinates.cpp ('k') | Source/web/FullscreenController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 0c926321f82f313a3ef70612d4e7bf66895c8b1f..082b7117765aa8b7e58d6ff530b6708697d177ed 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -97,8 +97,6 @@
#include "wtf/text/WTFString.h"
#include <v8.h>
-using namespace blink;
-
namespace blink {
FrameLoaderClientImpl::FrameLoaderClientImpl(WebLocalFrameImpl* frame)
@@ -310,7 +308,7 @@ void FrameLoaderClientImpl::detachedFromParent()
m_webFrame->setClient(0);
client->frameDetached(m_webFrame);
- // Clear our reference to blink::LocalFrame at the very end, in case the client
+ // Clear our reference to LocalFrame at the very end, in case the client
// refers to it.
m_webFrame->setWebCoreFrame(nullptr);
}
@@ -341,7 +339,7 @@ void FrameLoaderClientImpl::dispatchDidReceiveResponse(DocumentLoader* loader,
void FrameLoaderClientImpl::dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority priority, int intraPriorityValue)
{
if (m_webFrame->client())
- m_webFrame->client()->didChangeResourcePriority(m_webFrame, identifier, static_cast<blink::WebURLRequest::Priority>(priority), intraPriorityValue);
+ m_webFrame->client()->didChangeResourcePriority(m_webFrame, identifier, static_cast<WebURLRequest::Priority>(priority), intraPriorityValue);
}
// Called when a particular resource load completes
@@ -402,7 +400,7 @@ void FrameLoaderClientImpl::dispatchDidReceiveTitle(const String& title)
m_webFrame->client()->didReceiveTitle(m_webFrame, title, WebTextDirectionLeftToRight);
}
-void FrameLoaderClientImpl::dispatchDidChangeIcons(blink::IconType type)
+void FrameLoaderClientImpl::dispatchDidChangeIcons(IconType type)
{
if (m_webFrame->client())
m_webFrame->client()->didChangeIcon(m_webFrame, static_cast<WebIconURL::Type>(type));
@@ -602,7 +600,7 @@ String FrameLoaderClientImpl::userAgent(const KURL& url)
if (!override.isEmpty())
return override;
- return blink::Platform::current()->userAgent();
+ return Platform::current()->userAgent();
}
String FrameLoaderClientImpl::doNotTrackValue()
@@ -765,12 +763,12 @@ void FrameLoaderClientImpl::dispatchWillOpenSocketStream(SocketStreamHandle* han
m_webFrame->client()->willOpenSocketStream(SocketStreamHandleInternal::toWebSocketStreamHandle(handle));
}
-void FrameLoaderClientImpl::dispatchWillOpenWebSocket(blink::WebSocketHandle* handle)
+void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle)
{
m_webFrame->client()->willOpenWebSocket(handle);
}
-void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPeerConnectionHandler* handler)
+void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler* handler)
{
m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handler);
}
« no previous file with comments | « Source/web/FindInPageCoordinates.cpp ('k') | Source/web/FullscreenController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698