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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp

Issue 2010633002: HitRegion.cpp doesn't need to include LayoutBoxModelObject.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "modules/canvas2d/HitRegion.h" 5 #include "modules/canvas2d/HitRegion.h"
6 6
7 #include "core/dom/AXObjectCache.h" 7 #include "core/dom/AXObjectCache.h"
8 #include "core/layout/LayoutBoxModelObject.h"
9 8
10 namespace blink { 9 namespace blink {
11 10
12 HitRegion::HitRegion(const Path& path, const HitRegionOptions& options) 11 HitRegion::HitRegion(const Path& path, const HitRegionOptions& options)
13 : m_id(options.id().isEmpty() ? String() : options.id()) 12 : m_id(options.id().isEmpty() ? String() : options.id())
14 , m_control(options.control()) 13 , m_control(options.control())
15 , m_path(path) 14 , m_path(path)
16 { 15 {
17 if (options.fillRule() != "evenodd") 16 if (options.fillRule() != "evenodd")
18 m_fillRule = RULE_NONZERO; 17 m_fillRule = RULE_NONZERO;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 130 }
132 131
133 DEFINE_TRACE(HitRegionManager) 132 DEFINE_TRACE(HitRegionManager)
134 { 133 {
135 visitor->trace(m_hitRegionList); 134 visitor->trace(m_hitRegionList);
136 visitor->trace(m_hitRegionIdMap); 135 visitor->trace(m_hitRegionIdMap);
137 visitor->trace(m_hitRegionControlMap); 136 visitor->trace(m_hitRegionControlMap);
138 } 137 }
139 138
140 } // namespace blink 139 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698