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

Unified Diff: Source/core/dom/Document.h

Issue 177983005: Remove CanvasRenderingContext from the web exposed objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d5055526c3f216f8977529a16fbb57e3fbd3308e..e560db8ea511bab3558ecee398b71e6cafc1fd60 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -69,7 +69,7 @@ class CSSFontSelector;
class CSSStyleDeclaration;
class CSSStyleSheet;
class CSSStyleSheetResource;
-class CanvasRenderingContext;
+class CanvasRenderingContext2D;
class CharacterData;
class Chrome;
class Comment;
@@ -162,6 +162,7 @@ class TouchList;
class TransformSource;
class TreeWalker;
class VisitedLinkState;
+class WebGLRenderingContext;
class XMLHttpRequest;
struct AnnotatedRegionValue;
@@ -840,7 +841,7 @@ public:
void cancelFocusAppearanceUpdate();
// Extension for manipulating canvas drawing contexts for use in CSS
- CanvasRenderingContext* getCSSCanvasContext(const String& type, const String& name, int width, int height);
+ void getCSSCanvasContext(const String& type, const String& name, int width, int height, bool&, RefPtr<CanvasRenderingContext2D>&, bool&, RefPtr<WebGLRenderingContext>&);
HTMLCanvasElement& getCSSCanvasElement(const String& name);
bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }

Powered by Google App Engine
This is Rietveld 408576698