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

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

Issue 2742573005: Avoid to include IDL-generated headers from EventTarget.h and Node.h (Closed)
Patch Set: . Created 3 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) 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/frame/FrameView.h" 43 #include "core/frame/FrameView.h"
44 #include "core/frame/LocalFrame.h" 44 #include "core/frame/LocalFrame.h"
45 #include "core/html/HTMLAnchorElement.h" 45 #include "core/html/HTMLAnchorElement.h"
46 #include "core/html/HTMLFrameOwnerElement.h" 46 #include "core/html/HTMLFrameOwnerElement.h"
47 #include "core/html/HTMLMapElement.h" 47 #include "core/html/HTMLMapElement.h"
48 #include "core/layout/HitTestResult.h" 48 #include "core/layout/HitTestResult.h"
49 #include "core/layout/api/LayoutViewItem.h" 49 #include "core/layout/api/LayoutViewItem.h"
50 #include "core/page/FocusController.h" 50 #include "core/page/FocusController.h"
51 #include "core/page/Page.h" 51 #include "core/page/Page.h"
52 #include "core/svg/SVGTreeScopeResources.h" 52 #include "core/svg/SVGTreeScopeResources.h"
53 #include "platform/ScriptForbiddenScope.h"
53 #include "wtf/Vector.h" 54 #include "wtf/Vector.h"
54 55
55 namespace blink { 56 namespace blink {
56 57
57 using namespace HTMLNames; 58 using namespace HTMLNames;
58 59
59 TreeScope::TreeScope(ContainerNode& rootNode, Document& document) 60 TreeScope::TreeScope(ContainerNode& rootNode, Document& document)
60 : m_rootNode(&rootNode), 61 : m_rootNode(&rootNode),
61 m_document(&document), 62 m_document(&document),
62 m_parentTreeScope(&document), 63 m_parentTreeScope(&document),
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 visitor->trace(m_idTargetObserverRegistry); 534 visitor->trace(m_idTargetObserverRegistry);
534 visitor->trace(m_selection); 535 visitor->trace(m_selection);
535 visitor->trace(m_elementsById); 536 visitor->trace(m_elementsById);
536 visitor->trace(m_imageMapsByName); 537 visitor->trace(m_imageMapsByName);
537 visitor->trace(m_scopedStyleResolver); 538 visitor->trace(m_scopedStyleResolver);
538 visitor->trace(m_radioButtonGroupScope); 539 visitor->trace(m_radioButtonGroupScope);
539 visitor->trace(m_svgTreeScopedResources); 540 visitor->trace(m_svgTreeScopedResources);
540 } 541 }
541 542
542 } // namespace blink 543 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/editing/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698