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

Side by Side Diff: Source/core/html/canvas/CanvasRenderingContext2DTest.cpp

Issue 953123003: IDL: Put generated union type containers in separate files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/modules/fetch/Request.h » ('j') | 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 "config.h" 5 #include "config.h"
6 6
7 #include "core/html/canvas/CanvasRenderingContext2D.h" 7 #include "core/html/canvas/CanvasRenderingContext2D.h"
8 8
9 #include "bindings/core/v8/UnionTypesCore.h"
9 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
10 #include "core/html/HTMLDocument.h" 11 #include "core/html/HTMLDocument.h"
11 #include "core/html/ImageData.h" 12 #include "core/html/ImageData.h"
12 #include "core/html/canvas/CanvasGradient.h" 13 #include "core/html/canvas/CanvasGradient.h"
13 #include "core/html/canvas/CanvasPattern.h" 14 #include "core/html/canvas/CanvasPattern.h"
14 #include "core/html/canvas/WebGLRenderingContext.h" 15 #include "core/html/canvas/WebGLRenderingContext.h"
15 #include "core/loader/EmptyClients.h" 16 #include "core/loader/EmptyClients.h"
16 #include "core/testing/DummyPageHolder.h" 17 #include "core/testing/DummyPageHolder.h"
17 #include "platform/graphics/StaticBitmapImage.h" 18 #include "platform/graphics/StaticBitmapImage.h"
18 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 19 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 TEST_OVERDRAW_3(0, setGlobalAlpha(0.5f), setGlobalCompositeOperation(String( "source-over")), fillRect(0, 0, 10, 10)); 300 TEST_OVERDRAW_3(0, setGlobalAlpha(0.5f), setGlobalCompositeOperation(String( "source-over")), fillRect(0, 0, 10, 10));
300 TEST_OVERDRAW_3(0, setGlobalAlpha(0.5f), setGlobalCompositeOperation(String( "source-in")), fillRect(0, 0, 10, 10)); 301 TEST_OVERDRAW_3(0, setGlobalAlpha(0.5f), setGlobalCompositeOperation(String( "source-in")), fillRect(0, 0, 10, 10));
301 // Test composite operators with an opaque rect that does not cover the enti re canvas 302 // Test composite operators with an opaque rect that does not cover the enti re canvas
302 TEST_OVERDRAW_2(0, setGlobalCompositeOperation(String("clear")), fillRect(0, 0, 5, 5)); 303 TEST_OVERDRAW_2(0, setGlobalCompositeOperation(String("clear")), fillRect(0, 0, 5, 5));
303 TEST_OVERDRAW_2(1, setGlobalCompositeOperation(String("copy")), fillRect(0, 0, 5, 5)); 304 TEST_OVERDRAW_2(1, setGlobalCompositeOperation(String("copy")), fillRect(0, 0, 5, 5));
304 TEST_OVERDRAW_2(0, setGlobalCompositeOperation(String("source-over")), fillR ect(0, 0, 5, 5)); 305 TEST_OVERDRAW_2(0, setGlobalCompositeOperation(String("source-over")), fillR ect(0, 0, 5, 5));
305 TEST_OVERDRAW_2(0, setGlobalCompositeOperation(String("source-in")), fillRec t(0, 0, 5, 5)); 306 TEST_OVERDRAW_2(0, setGlobalCompositeOperation(String("source-in")), fillRec t(0, 0, 5, 5));
306 } 307 }
307 308
308 } // unnamed namespace 309 } // unnamed namespace
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/modules/fetch/Request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698