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

Unified Diff: Source/web/PageOverlay.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/PageOverlay.h ('k') | Source/web/PageOverlayList.h » ('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 af44a26eba6cbe7c7b311e39c330ee7f8ec5a5f9..ce83e4d6c4393326ec52326b125456b67f395db7 100644
--- a/Source/web/PageOverlay.cpp
+++ b/Source/web/PageOverlay.cpp
@@ -39,7 +39,7 @@
#include "public/web/WebViewClient.h"
#include "web/WebViewImpl.h"
-using namespace WebCore;
+using namespace blink;
namespace blink {
@@ -64,7 +64,7 @@ PageOverlay::PageOverlay(WebViewImpl* viewImpl, WebPageOverlay* overlay)
{
}
-class OverlayGraphicsLayerClientImpl : public WebCore::GraphicsLayerClient {
+class OverlayGraphicsLayerClientImpl : public blink::GraphicsLayerClient {
public:
static PassOwnPtr<OverlayGraphicsLayerClientImpl> create(WebPageOverlay* overlay)
{
@@ -104,7 +104,7 @@ void PageOverlay::clear()
if (m_layer) {
m_layer->removeFromParent();
- if (WebCore::Page* page = m_viewImpl->page())
+ if (blink::Page* page = m_viewImpl->page())
page->inspectorController().didRemovePageOverlay(m_layer.get());
m_layer = nullptr;
m_layerClient = nullptr;
@@ -120,7 +120,7 @@ void PageOverlay::update()
m_layer = GraphicsLayer::create(m_viewImpl->graphicsLayerFactory(), m_layerClient.get());
m_layer->setDrawsContent(true);
- if (WebCore::Page* page = m_viewImpl->page())
+ if (blink::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/PageOverlay.h ('k') | Source/web/PageOverlayList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698