OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | |
6 #include "modules/canvas2d/HitRegion.h" | 5 #include "modules/canvas2d/HitRegion.h" |
7 | 6 |
8 #include "core/dom/AXObjectCache.h" | 7 #include "core/dom/AXObjectCache.h" |
9 #include "core/layout/LayoutBoxModelObject.h" | 8 #include "core/layout/LayoutBoxModelObject.h" |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 HitRegion::HitRegion(const Path& path, const HitRegionOptions& options) | 12 HitRegion::HitRegion(const Path& path, const HitRegionOptions& options) |
14 : m_id(options.id()) | 13 : m_id(options.id()) |
15 , m_control(options.control()) | 14 , m_control(options.control()) |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 DEFINE_TRACE(HitRegionManager) | 135 DEFINE_TRACE(HitRegionManager) |
137 { | 136 { |
138 #if ENABLE(OILPAN) | 137 #if ENABLE(OILPAN) |
139 visitor->trace(m_hitRegionList); | 138 visitor->trace(m_hitRegionList); |
140 visitor->trace(m_hitRegionIdMap); | 139 visitor->trace(m_hitRegionIdMap); |
141 visitor->trace(m_hitRegionControlMap); | 140 visitor->trace(m_hitRegionControlMap); |
142 #endif | 141 #endif |
143 } | 142 } |
144 | 143 |
145 } // namespace blink | 144 } // namespace blink |
OLD | NEW |