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

Side by Side Diff: Source/core/dom/TreeScope.cpp

Issue 15387004: Remove some unused includes from core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 7 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 | « Source/core/dom/Touch.cpp ('k') | Source/core/dom/TreeScopeAdopter.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) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 Google Inc. All Rights Reserved.
3 * Copyright (C) 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 #include "core/dom/TreeScope.h" 28 #include "core/dom/TreeScope.h"
29 29
30 #include "HTMLNames.h" 30 #include "HTMLNames.h"
31 #include "core/dom/ContainerNode.h" 31 #include "core/dom/ContainerNode.h"
32 #include "core/dom/Document.h" 32 #include "core/dom/Document.h"
33 #include "core/dom/Element.h" 33 #include "core/dom/Element.h"
34 #include "core/dom/EventPathWalker.h" 34 #include "core/dom/EventPathWalker.h"
35 #include "core/dom/IdTargetObserverRegistry.h" 35 #include "core/dom/IdTargetObserverRegistry.h"
36 #include "core/dom/NodeTraversal.h" 36 #include "core/dom/NodeTraversal.h"
37 #include "core/dom/TreeScopeAdopter.h" 37 #include "core/dom/TreeScopeAdopter.h"
38 #include "core/dom/shadow/InsertionPoint.h"
39 #include "core/dom/shadow/ShadowRoot.h"
40 #include "core/html/HTMLAnchorElement.h" 38 #include "core/html/HTMLAnchorElement.h"
41 #include "core/html/HTMLFrameOwnerElement.h" 39 #include "core/html/HTMLFrameOwnerElement.h"
42 #include "core/html/HTMLLabelElement.h" 40 #include "core/html/HTMLLabelElement.h"
43 #include "core/html/HTMLMapElement.h" 41 #include "core/html/HTMLMapElement.h"
44 #include "core/page/DOMSelection.h" 42 #include "core/page/DOMSelection.h"
45 #include "core/page/DOMWindow.h"
46 #include "core/page/FocusController.h" 43 #include "core/page/FocusController.h"
47 #include "core/page/Frame.h" 44 #include "core/page/Frame.h"
48 #include "core/page/FrameView.h" 45 #include "core/page/FrameView.h"
49 #include "core/page/Page.h" 46 #include "core/page/Page.h"
50 #include "RuntimeEnabledFeatures.h"
51 #include "core/rendering/HitTestResult.h" 47 #include "core/rendering/HitTestResult.h"
52 #include "core/rendering/RenderView.h" 48 #include "core/rendering/RenderView.h"
53 #include <wtf/text/AtomicString.h> 49 #include <wtf/text/AtomicString.h>
54 #include <wtf/text/CString.h> 50 #include <wtf/text/CString.h>
55 #include <wtf/Vector.h> 51 #include <wtf/Vector.h>
56 52
57 namespace WebCore { 53 namespace WebCore {
58 54
59 struct SameSizeAsTreeScope { 55 struct SameSizeAsTreeScope {
60 virtual ~SameSizeAsTreeScope(); 56 virtual ~SameSizeAsTreeScope();
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 { 441 {
446 ASSERT(scope); 442 ASSERT(scope);
447 for (; scope; scope = scope->parentTreeScope()) { 443 for (; scope; scope = scope->parentTreeScope()) {
448 if (scope == this) 444 if (scope == this)
449 return true; 445 return true;
450 } 446 }
451 return false; 447 return false;
452 } 448 }
453 449
454 } // namespace WebCore 450 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Touch.cpp ('k') | Source/core/dom/TreeScopeAdopter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698