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

Unified Diff: Source/web/PageOverlay.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/NavigatorContentUtilsClientImpl.cpp ('k') | Source/web/PageOverlayList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageOverlay.cpp
diff --git a/Source/web/PageOverlay.cpp b/Source/web/PageOverlay.cpp
index 79a645200c580c99da7c1ca1b0b17db4045c821f..60463aeea67c419e0efbe28d7b83898f18f4663e 100644
--- a/Source/web/PageOverlay.cpp
+++ b/Source/web/PageOverlay.cpp
@@ -39,8 +39,6 @@
#include "public/web/WebViewClient.h"
#include "web/WebViewImpl.h"
-using namespace blink;
-
namespace blink {
namespace {
@@ -64,7 +62,7 @@ PageOverlay::PageOverlay(WebViewImpl* viewImpl, WebPageOverlay* overlay)
{
}
-class OverlayGraphicsLayerClientImpl : public blink::GraphicsLayerClient {
+class OverlayGraphicsLayerClientImpl : public GraphicsLayerClient {
public:
static PassOwnPtr<OverlayGraphicsLayerClientImpl> create(WebPageOverlay* overlay)
{
@@ -102,7 +100,7 @@ void PageOverlay::clear()
if (m_layer) {
m_layer->removeFromParent();
- if (blink::Page* page = m_viewImpl->page())
+ if (Page* page = m_viewImpl->page())
page->inspectorController().didRemovePageOverlay(m_layer.get());
m_layer = nullptr;
m_layerClient = nullptr;
@@ -118,7 +116,7 @@ void PageOverlay::update()
m_layer = GraphicsLayer::create(m_viewImpl->graphicsLayerFactory(), m_layerClient.get());
m_layer->setDrawsContent(true);
- if (blink::Page* page = m_viewImpl->page())
+ if (Page* page = m_viewImpl->page())
page->inspectorController().willAddPageOverlay(m_layer.get());
// This is required for contents of overlay to stay in sync with the page while scrolling.
« no previous file with comments | « Source/web/NavigatorContentUtilsClientImpl.cpp ('k') | Source/web/PageOverlayList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698