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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1416793004: Remove support for -webkit-canvas and Document.getCSSCanvasContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 // Returns the HTMLLinkElement currently in use for the Web Manifest. 806 // Returns the HTMLLinkElement currently in use for the Web Manifest.
807 // Returns null if there is no such element. 807 // Returns null if there is no such element.
808 HTMLLinkElement* linkManifest() const; 808 HTMLLinkElement* linkManifest() const;
809 809
810 void setUseSecureKeyboardEntryWhenActive(bool); 810 void setUseSecureKeyboardEntryWhenActive(bool);
811 bool useSecureKeyboardEntryWhenActive() const; 811 bool useSecureKeyboardEntryWhenActive() const;
812 812
813 void updateFocusAppearanceSoon(bool restorePreviousSelection); 813 void updateFocusAppearanceSoon(bool restorePreviousSelection);
814 void cancelFocusAppearanceUpdate(); 814 void cancelFocusAppearanceUpdate();
815 815
816 // Extension for manipulating canvas drawing contexts for use in CSS
817 ScriptValue getCSSCanvasContext(ScriptState*, const String& type, const Stri ng& name, int width, int height);
818 HTMLCanvasElement& getCSSCanvasElement(const String& name);
819
820 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } 816 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }
821 void parseDNSPrefetchControlHeader(const String&); 817 void parseDNSPrefetchControlHeader(const String&);
822 818
823 // FIXME(crbug.com/305497): This should be removed once LocalDOMWindow is an ExecutionContext. 819 // FIXME(crbug.com/305497): This should be removed once LocalDOMWindow is an ExecutionContext.
824 void postTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextTask>) ove rride; // Executes the task on context's thread asynchronously. 820 void postTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextTask>) ove rride; // Executes the task on context's thread asynchronously.
825 void postInspectorTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextT ask>); 821 void postInspectorTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextT ask>);
826 822
827 void tasksWereSuspended() final; 823 void tasksWereSuspended() final;
828 void tasksWereResumed() final; 824 void tasksWereResumed() final;
829 void suspendScheduledTasks() final; 825 void suspendScheduledTasks() final;
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 #else 1289 #else
1294 unsigned m_nodeListCounts[numNodeListInvalidationTypes]; 1290 unsigned m_nodeListCounts[numNodeListInvalidationTypes];
1295 #endif 1291 #endif
1296 1292
1297 OwnPtrWillBeMember<SVGDocumentExtensions> m_svgExtensions; 1293 OwnPtrWillBeMember<SVGDocumentExtensions> m_svgExtensions;
1298 1294
1299 Vector<AnnotatedRegionValue> m_annotatedRegions; 1295 Vector<AnnotatedRegionValue> m_annotatedRegions;
1300 bool m_hasAnnotatedRegions; 1296 bool m_hasAnnotatedRegions;
1301 bool m_annotatedRegionsDirty; 1297 bool m_annotatedRegionsDirty;
1302 1298
1303 WillBeHeapHashMap<String, RefPtrWillBeMember<HTMLCanvasElement>> m_cssCanvas Elements;
1304
1305 OwnPtr<SelectorQueryCache> m_selectorQueryCache; 1299 OwnPtr<SelectorQueryCache> m_selectorQueryCache;
1306 1300
1307 // It is safe to keep a raw, untraced pointer to this stack-allocated 1301 // It is safe to keep a raw, untraced pointer to this stack-allocated
1308 // cache object: it is set upon the cache object being allocated on 1302 // cache object: it is set upon the cache object being allocated on
1309 // the stack and cleared upon leaving its allocated scope. Hence it 1303 // the stack and cleared upon leaving its allocated scope. Hence it
1310 // is acceptable not to trace it -- should a conservative GC occur, 1304 // is acceptable not to trace it -- should a conservative GC occur,
1311 // the cache object's references will be traced by a stack walk. 1305 // the cache object's references will be traced by a stack walk.
1312 GC_PLUGIN_IGNORE("461878") 1306 GC_PLUGIN_IGNORE("461878")
1313 NthIndexCache* m_nthIndexCache = nullptr; 1307 NthIndexCache* m_nthIndexCache = nullptr;
1314 1308
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1440 1434
1441 } // namespace blink 1435 } // namespace blink
1442 1436
1443 #ifndef NDEBUG 1437 #ifndef NDEBUG
1444 // Outside the WebCore namespace for ease of invocation from gdb. 1438 // Outside the WebCore namespace for ease of invocation from gdb.
1445 CORE_EXPORT void showLiveDocumentInstances(); 1439 CORE_EXPORT void showLiveDocumentInstances();
1446 #endif 1440 #endif
1447 1441
1448 #endif // Document_h 1442 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698