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

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

Issue 838003008: Get rid of ensureStyleResolver(). (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/resolver/ScopedStyleResolver.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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } 220 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; }
221 221
222 struct TransitionElementData { 222 struct TransitionElementData {
223 String scope; 223 String scope;
224 String selector; 224 String selector;
225 String markup; 225 String markup;
226 }; 226 };
227 void getTransitionElementData(Vector<TransitionElementData>&); 227 void getTransitionElementData(Vector<TransitionElementData>&);
228 228
229 StyleResolver* styleResolver() const; 229 StyleResolver& styleResolver() const;
230 StyleResolver& ensureStyleResolver() const;
231 230
232 bool isScriptExecutionReady() const { return haveImportsLoaded(); } 231 bool isScriptExecutionReady() const { return haveImportsLoaded(); }
233 232
234 StyleEngine* styleEngine() { return m_styleEngine.get(); } 233 StyleEngine* styleEngine() { return m_styleEngine.get(); }
235 234
236 // Called when one or more stylesheets in the document may have been added, removed, or changed. 235 // Called when one or more stylesheets in the document may have been added, removed, or changed.
237 void styleResolverChanged(); 236 void styleResolverChanged();
238 237
239 void evaluateMediaQueryList(); 238 void evaluateMediaQueryList();
240 239
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 Node* eventTargetNodeForDocument(Document*); 784 Node* eventTargetNodeForDocument(Document*);
786 785
787 } // namespace blink 786 } // namespace blink
788 787
789 #ifndef NDEBUG 788 #ifndef NDEBUG
790 // Outside the WebCore namespace for ease of invocation from gdb. 789 // Outside the WebCore namespace for ease of invocation from gdb.
791 void showLiveDocumentInstances(); 790 void showLiveDocumentInstances();
792 #endif 791 #endif
793 792
794 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 793 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/ScopedStyleResolver.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698