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

Unified Diff: Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h
diff --git a/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h b/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h
index 47cd68916a78a6893dc82a2422289ced7e315d2c..9cc266440117636cf5a7e903019ebcdd6c994ce4 100644
--- a/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h
+++ b/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h
@@ -37,7 +37,7 @@
#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
-namespace WebKit {
+namespace blink {
class WebGraphicsContext3D;
}
@@ -61,7 +61,7 @@ private:
RefPtr<Canvas2DLayerBridge> m_ptr;
};
-class Canvas2DLayerBridge : public WebKit::WebExternalTextureLayerClient, public SkDeferredCanvas::NotificationClient, public DoublyLinkedListNode<Canvas2DLayerBridge>, public RefCounted<Canvas2DLayerBridge> {
+class Canvas2DLayerBridge : public blink::WebExternalTextureLayerClient, public SkDeferredCanvas::NotificationClient, public DoublyLinkedListNode<Canvas2DLayerBridge>, public RefCounted<Canvas2DLayerBridge> {
WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge);
public:
enum OpacityMode {
@@ -73,10 +73,10 @@ public:
virtual ~Canvas2DLayerBridge();
- // WebKit::WebExternalTextureLayerClient implementation.
- virtual WebKit::WebGraphicsContext3D* context() OVERRIDE;
- virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*, WebKit::WebExternalBitmap*) OVERRIDE;
- virtual void mailboxReleased(const WebKit::WebExternalTextureMailbox&) OVERRIDE;
+ // blink::WebExternalTextureLayerClient implementation.
+ virtual blink::WebGraphicsContext3D* context() OVERRIDE;
+ virtual bool prepareMailbox(blink::WebExternalTextureMailbox*, blink::WebExternalBitmap*) OVERRIDE;
+ virtual void mailboxReleased(const blink::WebExternalTextureMailbox&) OVERRIDE;
// SkDeferredCanvas::NotificationClient implementation
virtual void prepareForDraw() OVERRIDE;
@@ -91,7 +91,7 @@ public:
size_t bytesAllocated() const {return m_bytesAllocated;}
void limitPendingFrames();
- WebKit::WebLayer* layer();
+ blink::WebLayer* layer();
void contextAcquired();
PassRefPtr<SkCanvas> getCanvas() { return PassRefPtr<SkCanvas>(m_canvas); }
@@ -106,7 +106,7 @@ protected:
void setRateLimitingEnabled(bool);
RefPtr<SkDeferredCanvas> m_canvas;
- OwnPtr<WebKit::WebExternalTextureLayer> m_layer;
+ OwnPtr<blink::WebExternalTextureLayer> m_layer;
RefPtr<GraphicsContext3D> m_context;
int m_msaaSampleCount;
size_t m_bytesAllocated;
@@ -127,7 +127,7 @@ protected:
};
struct MailboxInfo {
- WebKit::WebExternalTextureMailbox m_mailbox;
+ blink::WebExternalTextureMailbox m_mailbox;
SkAutoTUnref<SkImage> m_image;
MailboxStatus m_status;
RefPtr<Canvas2DLayerBridge> m_parentLayerBridge;
« no previous file with comments | « Source/core/platform/graphics/ImageBuffer.cpp ('k') | Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698