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

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

Issue 1875343002: Move WTF classes related to typed arrays to wtf/typed_arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org>
7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
8 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved. 8 * Copyright (C) 2012, 2013 Intel Corporation. All rights reserved.
9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
10 * 10 *
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "platform/fonts/FontCache.h" 54 #include "platform/fonts/FontCache.h"
55 #include "platform/graphics/DrawLooperBuilder.h" 55 #include "platform/graphics/DrawLooperBuilder.h"
56 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" 56 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h"
57 #include "platform/graphics/ImageBuffer.h" 57 #include "platform/graphics/ImageBuffer.h"
58 #include "platform/graphics/StrokeData.h" 58 #include "platform/graphics/StrokeData.h"
59 #include "platform/graphics/skia/SkiaUtils.h" 59 #include "platform/graphics/skia/SkiaUtils.h"
60 #include "platform/text/BidiTextRun.h" 60 #include "platform/text/BidiTextRun.h"
61 #include "public/platform/Platform.h" 61 #include "public/platform/Platform.h"
62 #include "third_party/skia/include/core/SkCanvas.h" 62 #include "third_party/skia/include/core/SkCanvas.h"
63 #include "third_party/skia/include/core/SkImageFilter.h" 63 #include "third_party/skia/include/core/SkImageFilter.h"
64 #include "wtf/ArrayBufferContents.h"
65 #include "wtf/MathExtras.h" 64 #include "wtf/MathExtras.h"
66 #include "wtf/OwnPtr.h" 65 #include "wtf/OwnPtr.h"
67 #include "wtf/text/StringBuilder.h" 66 #include "wtf/text/StringBuilder.h"
67 #include "wtf/typed_arrays/ArrayBufferContents.h"
68 68
69 namespace blink { 69 namespace blink {
70 70
71 static const char defaultFont[] = "10px sans-serif"; 71 static const char defaultFont[] = "10px sans-serif";
72 static const char inherit[] = "inherit"; 72 static const char inherit[] = "inherit";
73 static const char rtl[] = "rtl"; 73 static const char rtl[] = "rtl";
74 static const char ltr[] = "ltr"; 74 static const char ltr[] = "ltr";
75 static const double TryRestoreContextInterval = 0.5; 75 static const double TryRestoreContextInterval = 0.5;
76 static const unsigned MaxTryRestoreContextAttempts = 4; 76 static const unsigned MaxTryRestoreContextAttempts = 4;
77 static const double cDeviceScaleFactor = 1.0; // Canvas is device independent 77 static const double cDeviceScaleFactor = 1.0; // Canvas is device independent
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 1036
1037 unsigned CanvasRenderingContext2D::hitRegionsCount() const 1037 unsigned CanvasRenderingContext2D::hitRegionsCount() const
1038 { 1038 {
1039 if (m_hitRegionManager) 1039 if (m_hitRegionManager)
1040 return m_hitRegionManager->getHitRegionsCount(); 1040 return m_hitRegionManager->getHitRegionsCount();
1041 1041
1042 return 0; 1042 return 0;
1043 } 1043 }
1044 1044
1045 } // namespace blink 1045 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/shapes/Shape.cpp ('k') | third_party/WebKit/Source/modules/fetch/FetchDataLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698