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

Side by Side Diff: sky/engine/core/css/StyleSheetList.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "sky/engine/config.h"
22 #include "core/css/StyleSheetList.h" 22 #include "sky/engine/core/css/StyleSheetList.h"
23 23
24 #include "core/dom/Document.h" 24 #include "sky/engine/core/dom/Document.h"
25 #include "core/dom/StyleEngine.h" 25 #include "sky/engine/core/dom/StyleEngine.h"
26 #include "core/html/HTMLStyleElement.h" 26 #include "sky/engine/core/html/HTMLStyleElement.h"
27 #include "wtf/text/WTFString.h" 27 #include "sky/engine/wtf/text/WTFString.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 StyleSheetList::StyleSheetList(TreeScope* treeScope) 31 StyleSheetList::StyleSheetList(TreeScope* treeScope)
32 : m_treeScope(treeScope) 32 : m_treeScope(treeScope)
33 { 33 {
34 } 34 }
35 35
36 StyleSheetList::~StyleSheetList() 36 StyleSheetList::~StyleSheetList()
37 { 37 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 CSSStyleSheet* StyleSheetList::anonymousNamedGetter(const AtomicString& name) 85 CSSStyleSheet* StyleSheetList::anonymousNamedGetter(const AtomicString& name)
86 { 86 {
87 HTMLStyleElement* item = getNamedItem(name); 87 HTMLStyleElement* item = getNamedItem(name);
88 if (!item) 88 if (!item)
89 return 0; 89 return 0;
90 return item->sheet(); 90 return item->sheet();
91 } 91 }
92 92
93 } // namespace blink 93 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/StyleSheetList.h ('k') | sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698