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

Side by Side Diff: samplecode/SampleEmptyPath.cpp

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/SampleDitherBitmap.cpp ('k') | samplecode/SampleFilterQuality.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 /*
2 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
3 * 4 *
4 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 6 * found in the LICENSE file.
6 */ 7 */
7
8 #include "SampleCode.h" 8 #include "SampleCode.h"
9 #include "SkView.h" 9 #include "SkView.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
11 #include "SkPaint.h" 11 #include "SkPaint.h"
12 #include "SkPath.h"
13 #include "SkRandom.h" 12 #include "SkRandom.h"
14 #include "SkString.h" 13 #include "SkString.h"
15 14
16 class EmptyPathView : public SampleView { 15 class EmptyPathView : public SampleView {
17 public: 16 public:
18 EmptyPathView() {} 17 EmptyPathView() {}
19 18
20 protected: 19 protected:
21 // overrides from SkEventSink 20 // overrides from SkEventSink
22 virtual bool onQuery(SkEvent* evt) { 21 virtual bool onQuery(SkEvent* evt) {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 121 }
123 122
124 private: 123 private:
125 typedef SampleView INHERITED; 124 typedef SampleView INHERITED;
126 }; 125 };
127 126
128 ////////////////////////////////////////////////////////////////////////////// 127 //////////////////////////////////////////////////////////////////////////////
129 128
130 static SkView* MyFactory() { return new EmptyPathView; } 129 static SkView* MyFactory() { return new EmptyPathView; }
131 static SkViewRegister reg(MyFactory); 130 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleDitherBitmap.cpp ('k') | samplecode/SampleFilterQuality.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698