OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "core/html/HTMLDocument.h" | 42 #include "core/html/HTMLDocument.h" |
43 #include "core/html/HTMLFrameElementBase.h" | 43 #include "core/html/HTMLFrameElementBase.h" |
44 #include "core/html/HTMLInputElement.h" | 44 #include "core/html/HTMLInputElement.h" |
45 #include "core/html/HTMLOptGroupElement.h" | 45 #include "core/html/HTMLOptGroupElement.h" |
46 #include "core/html/HTMLOptionElement.h" | 46 #include "core/html/HTMLOptionElement.h" |
47 #include "core/html/parser/HTMLParserIdioms.h" | 47 #include "core/html/parser/HTMLParserIdioms.h" |
48 #include "core/html/track/vtt/VTTElement.h" | 48 #include "core/html/track/vtt/VTTElement.h" |
49 #include "core/inspector/InspectorInstrumentation.h" | 49 #include "core/inspector/InspectorInstrumentation.h" |
50 #include "core/page/FocusController.h" | 50 #include "core/page/FocusController.h" |
51 #include "core/frame/Frame.h" | 51 #include "core/frame/Frame.h" |
52 #include "core/platform/ScrollableArea.h" | |
53 #include "core/platform/ScrollbarTheme.h" | |
54 #include "core/rendering/RenderObject.h" | 52 #include "core/rendering/RenderObject.h" |
55 #include "core/rendering/RenderScrollbar.h" | 53 #include "core/rendering/RenderScrollbar.h" |
56 #include "core/rendering/style/RenderStyle.h" | 54 #include "core/rendering/style/RenderStyle.h" |
| 55 #include "platform/scroll/ScrollableArea.h" |
| 56 #include "platform/scroll/ScrollbarTheme.h" |
57 | 57 |
58 namespace WebCore { | 58 namespace WebCore { |
59 | 59 |
60 using namespace HTMLNames; | 60 using namespace HTMLNames; |
61 | 61 |
62 SelectorChecker::SelectorChecker(Document& document, Mode mode) | 62 SelectorChecker::SelectorChecker(Document& document, Mode mode) |
63 : m_strictParsing(!document.inQuirksMode()) | 63 : m_strictParsing(!document.inQuirksMode()) |
64 , m_documentIsHTML(document.isHTMLDocument()) | 64 , m_documentIsHTML(document.isHTMLDocument()) |
65 , m_mode(mode) | 65 , m_mode(mode) |
66 { | 66 { |
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 return element.focused() && isFrameFocused(element); | 1056 return element.focused() && isFrameFocused(element); |
1057 } | 1057 } |
1058 | 1058 |
1059 template | 1059 template |
1060 SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext&, co
nst DOMSiblingTraversalStrategy&, MatchResult*) const; | 1060 SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext&, co
nst DOMSiblingTraversalStrategy&, MatchResult*) const; |
1061 | 1061 |
1062 template | 1062 template |
1063 SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext&, co
nst ShadowDOMSiblingTraversalStrategy&, MatchResult*) const; | 1063 SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext&, co
nst ShadowDOMSiblingTraversalStrategy&, MatchResult*) const; |
1064 | 1064 |
1065 } | 1065 } |
OLD | NEW |