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

Side by Side Diff: samplecode/SampleClock.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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 | « samplecode/SampleClipDrawMatch.cpp ('k') | samplecode/SampleDitherBitmap.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #include "SampleCode.h" 7 #include "SampleCode.h"
8 8
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPath.h"
10 #include "SkRandom.h" 11 #include "SkRandom.h"
11 #include "SkRRect.h" 12 #include "SkRRect.h"
12 #include "SkTime.h" 13 #include "SkTime.h"
13 14
14 // Implementation in C++ of Mozilla Canvas2D benchmark Canvas Clock Test 15 // Implementation in C++ of Mozilla Canvas2D benchmark Canvas Clock Test
15 // See https://code.google.com/p/skia/issues/detail?id=1626 16 // See https://code.google.com/p/skia/issues/detail?id=1626
16 17
17 #define USE_PATH 1 18 #define USE_PATH 1
18 19
19 class ClockView : public SampleView { 20 class ClockView : public SampleView {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 221
221 private: 222 private:
222 223
223 typedef SampleView INHERITED; 224 typedef SampleView INHERITED;
224 }; 225 };
225 226
226 ////////////////////////////////////////////////////////////////////////////// 227 //////////////////////////////////////////////////////////////////////////////
227 228
228 static SkView* MyFactory() { return new ClockView; } 229 static SkView* MyFactory() { return new ClockView; }
229 static SkViewRegister reg(MyFactory); 230 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleClipDrawMatch.cpp ('k') | samplecode/SampleDitherBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698