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

Side by Side Diff: Source/core/dom/Document.h

Issue 804873003: Clear matched properties cache for theme color changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « Source/core/core.gypi ('k') | Source/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 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 1047
1048 void updateStyleInvalidationIfNeeded(); 1048 void updateStyleInvalidationIfNeeded();
1049 1049
1050 virtual void trace(Visitor*) override; 1050 virtual void trace(Visitor*) override;
1051 1051
1052 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate SVGFilterElements.size(); } 1052 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate SVGFilterElements.size(); }
1053 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } 1053 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
1054 1054
1055 AtomicString convertLocalName(const AtomicString&); 1055 AtomicString convertLocalName(const AtomicString&);
1056 1056
1057 void platformColorsChanged();
1058
1057 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) override; 1059 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) override;
1058 virtual v8::Handle<v8::Object> associateWithWrapper(v8::Isolate*, const Wrap perTypeInfo*, v8::Handle<v8::Object> wrapper) override; 1060 virtual v8::Handle<v8::Object> associateWithWrapper(v8::Isolate*, const Wrap perTypeInfo*, v8::Handle<v8::Object> wrapper) override;
1059 1061
1060 protected: 1062 protected:
1061 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1063 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1062 1064
1063 virtual void didUpdateSecurityOrigin() override final; 1065 virtual void didUpdateSecurityOrigin() override final;
1064 1066
1065 void clearXMLVersion() { m_xmlVersion = String(); } 1067 void clearXMLVersion() { m_xmlVersion = String(); }
1066 1068
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1429 1431
1430 } // namespace blink 1432 } // namespace blink
1431 1433
1432 #ifndef NDEBUG 1434 #ifndef NDEBUG
1433 // Outside the WebCore namespace for ease of invocation from gdb. 1435 // Outside the WebCore namespace for ease of invocation from gdb.
1434 void showLiveDocumentInstances(); 1436 void showLiveDocumentInstances();
1435 #endif 1437 #endif
1436 1438
1437 #endif // Document_h 1439 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698