OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 4 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
5 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
7 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 7 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> |
8 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 8 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
9 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. |
10 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 10 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
(...skipping 17 matching lines...) Expand all Loading... |
28 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 28 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
29 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 29 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
32 */ | 32 */ |
33 | 33 |
34 #include "modules/canvas2d/CanvasRenderingContext2D.h" | 34 #include "modules/canvas2d/CanvasRenderingContext2D.h" |
35 | 35 |
36 #include "bindings/core/v8/ExceptionMessages.h" | 36 #include "bindings/core/v8/ExceptionMessages.h" |
37 #include "bindings/core/v8/ExceptionState.h" | 37 #include "bindings/core/v8/ExceptionState.h" |
38 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | |
39 #include "bindings/modules/v8/RenderingContext.h" | 38 #include "bindings/modules/v8/RenderingContext.h" |
40 #include "core/CSSPropertyNames.h" | 39 #include "core/CSSPropertyNames.h" |
41 #include "core/css/StylePropertySet.h" | 40 #include "core/css/StylePropertySet.h" |
42 #include "core/css/resolver/StyleResolver.h" | 41 #include "core/css/resolver/StyleResolver.h" |
43 #include "core/dom/AXObjectCache.h" | 42 #include "core/dom/AXObjectCache.h" |
44 #include "core/dom/StyleEngine.h" | 43 #include "core/dom/StyleEngine.h" |
45 #include "core/events/Event.h" | 44 #include "core/events/Event.h" |
46 #include "core/events/MouseEvent.h" | 45 #include "core/events/MouseEvent.h" |
47 #include "core/frame/Settings.h" | 46 #include "core/frame/Settings.h" |
48 #include "core/html/TextMetrics.h" | 47 #include "core/html/TextMetrics.h" |
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 } | 1158 } |
1160 return true; | 1159 return true; |
1161 } | 1160 } |
1162 | 1161 |
1163 void CanvasRenderingContext2D::resetUsageTracking() { | 1162 void CanvasRenderingContext2D::resetUsageTracking() { |
1164 UsageCounters newCounters; | 1163 UsageCounters newCounters; |
1165 m_usageCounters = newCounters; | 1164 m_usageCounters = newCounters; |
1166 } | 1165 } |
1167 | 1166 |
1168 } // namespace blink | 1167 } // namespace blink |
OLD | NEW |