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

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

Issue 1757503002: Re-collect rule features for watched selectors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 StyleEngine& styleEngine() { ASSERT(m_styleEngine.get()); return *m_styleEng ine.get(); } 380 StyleEngine& styleEngine() { ASSERT(m_styleEngine.get()); return *m_styleEng ine.get(); }
381 381
382 bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfter StylesheetsLoad; } 382 bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfter StylesheetsLoad; }
383 void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAft erStylesheetsLoad = b; } 383 void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAft erStylesheetsLoad = b; }
384 384
385 // FIXME: Switch all callers of resolverChanged to these or better ones and then make them 385 // FIXME: Switch all callers of resolverChanged to these or better ones and then make them
386 // do something smarter. 386 // do something smarter.
387 void removedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpdat e); 387 void removedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpdat e);
388 void modifiedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpda te); 388 void modifiedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpda te);
389 void changedSelectorWatch();
390 389
391 void scheduleUseShadowTreeUpdate(SVGUseElement&); 390 void scheduleUseShadowTreeUpdate(SVGUseElement&);
392 void unscheduleUseShadowTreeUpdate(SVGUseElement&); 391 void unscheduleUseShadowTreeUpdate(SVGUseElement&);
393 392
394 // FIXME: SVG filters should change to store the filter on the ComputedStyle 393 // FIXME: SVG filters should change to store the filter on the ComputedStyle
395 // instead of the LayoutObject so we can get rid of this hack. 394 // instead of the LayoutObject so we can get rid of this hack.
396 void scheduleSVGFilterLayerUpdateHack(Element&); 395 void scheduleSVGFilterLayerUpdateHack(Element&);
397 void unscheduleSVGFilterLayerUpdateHack(Element&); 396 void unscheduleSVGFilterLayerUpdateHack(Element&);
398 397
399 void evaluateMediaQueryList(); 398 void evaluateMediaQueryList();
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1444 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1446 1445
1447 } // namespace blink 1446 } // namespace blink
1448 1447
1449 #ifndef NDEBUG 1448 #ifndef NDEBUG
1450 // Outside the WebCore namespace for ease of invocation from gdb. 1449 // Outside the WebCore namespace for ease of invocation from gdb.
1451 CORE_EXPORT void showLiveDocumentInstances(); 1450 CORE_EXPORT void showLiveDocumentInstances();
1452 #endif 1451 #endif
1453 1452
1454 #endif // Document_h 1453 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698