| OLD | NEW |
| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 "platform/ScriptForbiddenScope.h" |
| 54 #include "wtf/Vector.h" | 54 #include "platform/wtf/Vector.h" |
| 55 | 55 |
| 56 namespace blink { | 56 namespace blink { |
| 57 | 57 |
| 58 using namespace HTMLNames; | 58 using namespace HTMLNames; |
| 59 | 59 |
| 60 TreeScope::TreeScope(ContainerNode& root_node, Document& document) | 60 TreeScope::TreeScope(ContainerNode& root_node, Document& document) |
| 61 : root_node_(&root_node), | 61 : root_node_(&root_node), |
| 62 document_(&document), | 62 document_(&document), |
| 63 parent_tree_scope_(&document), | 63 parent_tree_scope_(&document), |
| 64 id_target_observer_registry_(IdTargetObserverRegistry::Create()) { | 64 id_target_observer_registry_(IdTargetObserverRegistry::Create()) { |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 visitor->Trace(id_target_observer_registry_); | 536 visitor->Trace(id_target_observer_registry_); |
| 537 visitor->Trace(selection_); | 537 visitor->Trace(selection_); |
| 538 visitor->Trace(elements_by_id_); | 538 visitor->Trace(elements_by_id_); |
| 539 visitor->Trace(image_maps_by_name_); | 539 visitor->Trace(image_maps_by_name_); |
| 540 visitor->Trace(scoped_style_resolver_); | 540 visitor->Trace(scoped_style_resolver_); |
| 541 visitor->Trace(radio_button_group_scope_); | 541 visitor->Trace(radio_button_group_scope_); |
| 542 visitor->Trace(svg_tree_scoped_resources_); | 542 visitor->Trace(svg_tree_scoped_resources_); |
| 543 } | 543 } |
| 544 | 544 |
| 545 } // namespace blink | 545 } // namespace blink |
| OLD | NEW |