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

Side by Side Diff: sky/engine/core/dom/Document.h

Issue 876913002: Remove CSSCanvas values. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/css/parser/CSSPropertyParser.cpp ('k') | sky/engine/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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 404
405 KURL openSearchDescriptionURL(); 405 KURL openSearchDescriptionURL();
406 406
407 Document& topDocument() const; 407 Document& topDocument() const;
408 WeakPtr<Document> contextDocument(); 408 WeakPtr<Document> contextDocument();
409 409
410 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm pty() ? m_currentScriptStack.last().get() : 0; } 410 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm pty() ? m_currentScriptStack.last().get() : 0; }
411 void pushCurrentScript(PassRefPtr<HTMLScriptElement>); 411 void pushCurrentScript(PassRefPtr<HTMLScriptElement>);
412 void popCurrentScript(); 412 void popCurrentScript();
413 413
414 // Extension for manipulating canvas drawing contexts for use in CSS
415 void getCSSCanvasContext(const String& type, const String& name, int width, int height, RefPtr<CanvasRenderingContext2D>&, RefPtr<WebGLRenderingContext>&);
416 HTMLCanvasElement& getCSSCanvasElement(const String& name);
417
418 void finishedParsing(); 414 void finishedParsing();
419 415
420 const WTF::TextEncoding& encoding() const { return WTF::UTF8Encoding(); } 416 const WTF::TextEncoding& encoding() const { return WTF::UTF8Encoding(); }
421 417
422 virtual void removeAllEventListeners() override final; 418 virtual void removeAllEventListeners() override final;
423 419
424 bool allowExecutingScripts(Node*); 420 bool allowExecutingScripts(Node*);
425 421
426 enum LoadEventProgress { 422 enum LoadEventProgress {
427 LoadEventNotRun, 423 LoadEventNotRun,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 OwnPtr<DocumentMarkerController> m_markers; 664 OwnPtr<DocumentMarkerController> m_markers;
669 665
670 LoadEventProgress m_loadEventProgress; 666 LoadEventProgress m_loadEventProgress;
671 667
672 double m_startTime; 668 double m_startTime;
673 669
674 Vector<RefPtr<HTMLScriptElement> > m_currentScriptStack; 670 Vector<RefPtr<HTMLScriptElement> > m_currentScriptStack;
675 671
676 AtomicString m_contentLanguage; 672 AtomicString m_contentLanguage;
677 673
678 HashMap<String, RefPtr<HTMLCanvasElement> > m_cssCanvasElements;
679
680 OwnPtr<SelectorQueryCache> m_selectorQueryCache; 674 OwnPtr<SelectorQueryCache> m_selectorQueryCache;
681 675
682 RenderView* m_renderView; 676 RenderView* m_renderView;
683 677
684 #if !ENABLE(OILPAN) 678 #if !ENABLE(OILPAN)
685 WeakPtrFactory<Document> m_weakFactory; 679 WeakPtrFactory<Document> m_weakFactory;
686 #endif 680 #endif
687 WeakPtr<Document> m_contextDocument; 681 WeakPtr<Document> m_contextDocument;
688 682
689 int m_loadEventDelayCount; 683 int m_loadEventDelayCount;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 Node* eventTargetNodeForDocument(Document*); 747 Node* eventTargetNodeForDocument(Document*);
754 748
755 } // namespace blink 749 } // namespace blink
756 750
757 #ifndef NDEBUG 751 #ifndef NDEBUG
758 // Outside the WebCore namespace for ease of invocation from gdb. 752 // Outside the WebCore namespace for ease of invocation from gdb.
759 void showLiveDocumentInstances(); 753 void showLiveDocumentInstances();
760 #endif 754 #endif
761 755
762 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 756 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/CSSPropertyParser.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698