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

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

Issue 681983005: Basic implementation of <import> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Works Created 6 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 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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 IntSize initialViewportSize() const; 579 IntSize initialViewportSize() const;
580 580
581 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionState&); 581 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionState&);
582 ScriptValue registerElement(ScriptState*, const AtomicString& name, Exceptio nState&); 582 ScriptValue registerElement(ScriptState*, const AtomicString& name, Exceptio nState&);
583 ScriptValue registerElement(ScriptState*, const AtomicString& name, const Di ctionary& options, ExceptionState&, CustomElement::NameSet validNames = CustomEl ement::StandardNames); 583 ScriptValue registerElement(ScriptState*, const AtomicString& name, const Di ctionary& options, ExceptionState&, CustomElement::NameSet validNames = CustomEl ement::StandardNames);
584 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); } 584 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); }
585 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); 585 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
586 586
587 void setImportsController(HTMLImportsController*); 587 void setImportsController(HTMLImportsController*);
588 HTMLImportsController* importsController() const { return m_importsControlle r; } 588 HTMLImportsController* importsController() const { return m_importsControlle r; }
589 HTMLImportsController& ensureImportsController();
589 HTMLImportLoader* importLoader() const; 590 HTMLImportLoader* importLoader() const;
590 HTMLImport* import() const; 591 HTMLImport* import() const;
591 592
592 bool haveImportsLoaded() const; 593 bool haveImportsLoaded() const;
593 void didLoadAllImports(); 594 void didLoadAllImports();
594 595
595 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct&); 596 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct&);
596 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject&); 597 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject&);
597 598
598 bool hasActiveParser(); 599 bool hasActiveParser();
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 Node* eventTargetNodeForDocument(Document*); 903 Node* eventTargetNodeForDocument(Document*);
903 904
904 } // namespace blink 905 } // namespace blink
905 906
906 #ifndef NDEBUG 907 #ifndef NDEBUG
907 // Outside the WebCore namespace for ease of invocation from gdb. 908 // Outside the WebCore namespace for ease of invocation from gdb.
908 void showLiveDocumentInstances(); 909 void showLiveDocumentInstances();
909 #endif 910 #endif
910 911
911 #endif // Document_h 912 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698