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

Side by Side Diff: sky/engine/core/dom/Element.cpp

Issue 867903002: Remove UseCounter (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/StyleResolver.cpp ('k') | sky/engine/core/dom/SelectorQuery.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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "sky/engine/core/dom/shadow/InsertionPoint.h" 62 #include "sky/engine/core/dom/shadow/InsertionPoint.h"
63 #include "sky/engine/core/dom/shadow/ShadowRoot.h" 63 #include "sky/engine/core/dom/shadow/ShadowRoot.h"
64 #include "sky/engine/core/editing/FrameSelection.h" 64 #include "sky/engine/core/editing/FrameSelection.h"
65 #include "sky/engine/core/editing/TextIterator.h" 65 #include "sky/engine/core/editing/TextIterator.h"
66 #include "sky/engine/core/editing/htmlediting.h" 66 #include "sky/engine/core/editing/htmlediting.h"
67 #include "sky/engine/core/events/EventDispatcher.h" 67 #include "sky/engine/core/events/EventDispatcher.h"
68 #include "sky/engine/core/events/FocusEvent.h" 68 #include "sky/engine/core/events/FocusEvent.h"
69 #include "sky/engine/core/frame/FrameView.h" 69 #include "sky/engine/core/frame/FrameView.h"
70 #include "sky/engine/core/frame/LocalFrame.h" 70 #include "sky/engine/core/frame/LocalFrame.h"
71 #include "sky/engine/core/frame/Settings.h" 71 #include "sky/engine/core/frame/Settings.h"
72 #include "sky/engine/core/frame/UseCounter.h"
73 #include "sky/engine/core/html/HTMLCanvasElement.h" 72 #include "sky/engine/core/html/HTMLCanvasElement.h"
74 #include "sky/engine/core/html/HTMLDocument.h" 73 #include "sky/engine/core/html/HTMLDocument.h"
75 #include "sky/engine/core/html/HTMLElement.h" 74 #include "sky/engine/core/html/HTMLElement.h"
76 #include "sky/engine/core/html/HTMLTemplateElement.h" 75 #include "sky/engine/core/html/HTMLTemplateElement.h"
77 #include "sky/engine/core/html/parser/HTMLDocumentParser.h" 76 #include "sky/engine/core/html/parser/HTMLDocumentParser.h"
78 #include "sky/engine/core/html/parser/HTMLParserIdioms.h" 77 #include "sky/engine/core/html/parser/HTMLParserIdioms.h"
79 #include "sky/engine/core/page/Chrome.h" 78 #include "sky/engine/core/page/Chrome.h"
80 #include "sky/engine/core/page/ChromeClient.h" 79 #include "sky/engine/core/page/ChromeClient.h"
81 #include "sky/engine/core/page/FocusController.h" 80 #include "sky/engine/core/page/FocusController.h"
82 #include "sky/engine/core/page/Page.h" 81 #include "sky/engine/core/page/Page.h"
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 return false; 1778 return false;
1780 if (treeScope().scopedStyleResolver().hasSelectorForId(idValue)) 1779 if (treeScope().scopedStyleResolver().hasSelectorForId(idValue))
1781 return true; 1780 return true;
1782 // Host rules could also have effects. 1781 // Host rules could also have effects.
1783 if (ShadowRoot* shadowRoot = this->shadowRoot()) 1782 if (ShadowRoot* shadowRoot = this->shadowRoot())
1784 return shadowRoot->scopedStyleResolver().hasSelectorForId(idValue); 1783 return shadowRoot->scopedStyleResolver().hasSelectorForId(idValue);
1785 return false; 1784 return false;
1786 } 1785 }
1787 1786
1788 } // namespace blink 1787 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolver.cpp ('k') | sky/engine/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698