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

Side by Side 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, 9 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 unified diff | Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 namespace WebCore { 62 namespace WebCore {
63 63
64 class AXObjectCache; 64 class AXObjectCache;
65 class AnimationClock; 65 class AnimationClock;
66 class Attr; 66 class Attr;
67 class CDATASection; 67 class CDATASection;
68 class CSSFontSelector; 68 class CSSFontSelector;
69 class CSSStyleDeclaration; 69 class CSSStyleDeclaration;
70 class CSSStyleSheet; 70 class CSSStyleSheet;
71 class CSSStyleSheetResource; 71 class CSSStyleSheetResource;
72 class CanvasRenderingContext; 72 class CanvasRenderingContext2D;
73 class CharacterData; 73 class CharacterData;
74 class Chrome; 74 class Chrome;
75 class Comment; 75 class Comment;
76 class ContentSecurityPolicyResponseHeaders; 76 class ContentSecurityPolicyResponseHeaders;
77 class ContextFeatures; 77 class ContextFeatures;
78 class CustomElementRegistrationContext; 78 class CustomElementRegistrationContext;
79 class DOMImplementation; 79 class DOMImplementation;
80 class DOMSelection; 80 class DOMSelection;
81 class DOMWindow; 81 class DOMWindow;
82 class Database; 82 class Database;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 class StyleSheet; 155 class StyleSheet;
156 class StyleSheetContents; 156 class StyleSheetContents;
157 class StyleSheetList; 157 class StyleSheetList;
158 class Text; 158 class Text;
159 class TextAutosizer; 159 class TextAutosizer;
160 class Touch; 160 class Touch;
161 class TouchList; 161 class TouchList;
162 class TransformSource; 162 class TransformSource;
163 class TreeWalker; 163 class TreeWalker;
164 class VisitedLinkState; 164 class VisitedLinkState;
165 class WebGLRenderingContext;
165 class XMLHttpRequest; 166 class XMLHttpRequest;
166 167
167 struct AnnotatedRegionValue; 168 struct AnnotatedRegionValue;
168 169
169 typedef int ExceptionCode; 170 typedef int ExceptionCode;
170 171
171 enum RecalcStyleTime { 172 enum RecalcStyleTime {
172 RecalcStyleImmediately, // synchronous 173 RecalcStyleImmediately, // synchronous
173 RecalcStyleDeferred // asynchronous 174 RecalcStyleDeferred // asynchronous
174 }; 175 };
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 834
834 Vector<IconURL> iconURLs(int iconTypesMask); 835 Vector<IconURL> iconURLs(int iconTypesMask);
835 836
836 void setUseSecureKeyboardEntryWhenActive(bool); 837 void setUseSecureKeyboardEntryWhenActive(bool);
837 bool useSecureKeyboardEntryWhenActive() const; 838 bool useSecureKeyboardEntryWhenActive() const;
838 839
839 void updateFocusAppearanceSoon(bool restorePreviousSelection); 840 void updateFocusAppearanceSoon(bool restorePreviousSelection);
840 void cancelFocusAppearanceUpdate(); 841 void cancelFocusAppearanceUpdate();
841 842
842 // Extension for manipulating canvas drawing contexts for use in CSS 843 // Extension for manipulating canvas drawing contexts for use in CSS
843 CanvasRenderingContext* getCSSCanvasContext(const String& type, const String & name, int width, int height); 844 void getCSSCanvasContext(const String& type, const String& name, int width, int height, bool&, RefPtr<CanvasRenderingContext2D>&, bool&, RefPtr<WebGLRenderi ngContext>&);
844 HTMLCanvasElement& getCSSCanvasElement(const String& name); 845 HTMLCanvasElement& getCSSCanvasElement(const String& name);
845 846
846 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } 847 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }
847 void parseDNSPrefetchControlHeader(const String&); 848 void parseDNSPrefetchControlHeader(const String&);
848 849
849 // FIXME(crbug.com/305497): This should be removed once DOMWindow is an Exec utionContext. 850 // FIXME(crbug.com/305497): This should be removed once DOMWindow is an Exec utionContext.
850 virtual void postTask(PassOwnPtr<ExecutionContextTask>) OVERRIDE; // Execute s the task on context's thread asynchronously. 851 virtual void postTask(PassOwnPtr<ExecutionContextTask>) OVERRIDE; // Execute s the task on context's thread asynchronously.
851 852
852 virtual void tasksWereSuspended() OVERRIDE FINAL; 853 virtual void tasksWereSuspended() OVERRIDE FINAL;
853 virtual void tasksWereResumed() OVERRIDE FINAL; 854 virtual void tasksWereResumed() OVERRIDE FINAL;
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 inline bool Node::isDocumentNode() const 1397 inline bool Node::isDocumentNode() const
1397 { 1398 {
1398 return this == document(); 1399 return this == document();
1399 } 1400 }
1400 1401
1401 Node* eventTargetNodeForDocument(Document*); 1402 Node* eventTargetNodeForDocument(Document*);
1402 1403
1403 } // namespace WebCore 1404 } // namespace WebCore
1404 1405
1405 #endif // Document_h 1406 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698