| 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 #ifndef HitRegion_h | 5 #ifndef HitRegion_h |
| 6 #define HitRegion_h | 6 #define HitRegion_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/Dictionary.h" | 8 #include "sky/engine/bindings/core/v8/Dictionary.h" |
| 9 #include "core/dom/Element.h" | 9 #include "sky/engine/core/dom/Element.h" |
| 10 #include "platform/graphics/Path.h" | 10 #include "sky/engine/platform/graphics/Path.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "sky/engine/platform/heap/Handle.h" |
| 12 #include "wtf/Noncopyable.h" | 12 #include "sky/engine/wtf/Noncopyable.h" |
| 13 #include "wtf/OwnPtr.h" | 13 #include "sky/engine/wtf/OwnPtr.h" |
| 14 #include "wtf/PassOwnPtr.h" | 14 #include "sky/engine/wtf/PassOwnPtr.h" |
| 15 #include "wtf/PassRefPtr.h" | 15 #include "sky/engine/wtf/PassRefPtr.h" |
| 16 #include "wtf/RefPtr.h" | 16 #include "sky/engine/wtf/RefPtr.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 struct HitRegionOptions { | 20 struct HitRegionOptions { |
| 21 STACK_ALLOCATED(); | 21 STACK_ALLOCATED(); |
| 22 | 22 |
| 23 public: | 23 public: |
| 24 String id; | 24 String id; |
| 25 RefPtr<Element> control; | 25 RefPtr<Element> control; |
| 26 Path path; | 26 Path path; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 typedef HashMap<RefPtr<Element>, RefPtr<HitRegion> > HitRegionControlMap; | 84 typedef HashMap<RefPtr<Element>, RefPtr<HitRegion> > HitRegionControlMap; |
| 85 | 85 |
| 86 HitRegionList m_hitRegionList; | 86 HitRegionList m_hitRegionList; |
| 87 HitRegionIdMap m_hitRegionIdMap; | 87 HitRegionIdMap m_hitRegionIdMap; |
| 88 HitRegionControlMap m_hitRegionControlMap; | 88 HitRegionControlMap m_hitRegionControlMap; |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 } // namespace blink | 91 } // namespace blink |
| 92 | 92 |
| 93 #endif | 93 #endif |
| OLD | NEW |