| 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" | 5 #include "sky/engine/config.h" |
| 6 #include "core/html/canvas/HitRegion.h" | 6 #include "sky/engine/core/html/canvas/HitRegion.h" |
| 7 | 7 |
| 8 #include "core/rendering/RenderBoxModelObject.h" | 8 #include "sky/engine/core/rendering/RenderBoxModelObject.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 HitRegion::HitRegion(const HitRegionOptions& options) | 12 HitRegion::HitRegion(const HitRegionOptions& options) |
| 13 : m_id(options.id) | 13 : m_id(options.id) |
| 14 , m_control(options.control) | 14 , m_control(options.control) |
| 15 , m_path(options.path) | 15 , m_path(options.path) |
| 16 , m_fillRule(options.fillRule) | 16 , m_fillRule(options.fillRule) |
| 17 { | 17 { |
| 18 } | 18 } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 } | 124 } |
| 125 | 125 |
| 126 unsigned HitRegionManager::getHitRegionsCount() const | 126 unsigned HitRegionManager::getHitRegionsCount() const |
| 127 { | 127 { |
| 128 return m_hitRegionList.size(); | 128 return m_hitRegionList.size(); |
| 129 } | 129 } |
| 130 | 130 |
| 131 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(HitRegionManager) | 131 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(HitRegionManager) |
| 132 | 132 |
| 133 } // namespace blink | 133 } // namespace blink |
| OLD | NEW |