| OLD | NEW |
| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 public: | 52 public: |
| 53 static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(
new StyleEngine(document)); } | 53 static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(
new StyleEngine(document)); } |
| 54 | 54 |
| 55 ~StyleEngine(); | 55 ~StyleEngine(); |
| 56 | 56 |
| 57 void detachFromDocument(); | 57 void detachFromDocument(); |
| 58 | 58 |
| 59 void addTreeScope(TreeScope&); | 59 void addTreeScope(TreeScope&); |
| 60 void removeTreeScope(TreeScope&); | 60 void removeTreeScope(TreeScope&); |
| 61 | 61 |
| 62 // FIXME(sky): Remove this and ::first-line. | |
| 63 bool usesFirstLineRules() const { return false; } | |
| 64 | |
| 65 StyleResolver& resolver() { return *m_resolver; } | 62 StyleResolver& resolver() { return *m_resolver; } |
| 66 | 63 |
| 67 CSSFontSelector* fontSelector() { return m_fontSelector.get(); } | 64 CSSFontSelector* fontSelector() { return m_fontSelector.get(); } |
| 68 void clearFontCache(); | 65 void clearFontCache(); |
| 69 // updateGenericFontFamilySettings is used from WebSettingsImpl. | 66 // updateGenericFontFamilySettings is used from WebSettingsImpl. |
| 70 void updateGenericFontFamilySettings(); | 67 void updateGenericFontFamilySettings(); |
| 71 | 68 |
| 72 void resolverChanged(); | 69 void resolverChanged(); |
| 73 unsigned resolverAccessCount() const; | 70 unsigned resolverAccessCount() const; |
| 74 | 71 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 93 | 90 |
| 94 RefPtr<CSSFontSelector> m_fontSelector; | 91 RefPtr<CSSFontSelector> m_fontSelector; |
| 95 | 92 |
| 96 HashMap<AtomicString, StyleSheetContents*> m_textToSheetCache; | 93 HashMap<AtomicString, StyleSheetContents*> m_textToSheetCache; |
| 97 HashMap<StyleSheetContents*, AtomicString> m_sheetToTextCache; | 94 HashMap<StyleSheetContents*, AtomicString> m_sheetToTextCache; |
| 98 }; | 95 }; |
| 99 | 96 |
| 100 } | 97 } |
| 101 | 98 |
| 102 #endif // SKY_ENGINE_CORE_DOM_STYLEENGINE_H_ | 99 #endif // SKY_ENGINE_CORE_DOM_STYLEENGINE_H_ |
| OLD | NEW |