| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "SampleCode.h" | 8 #include "SampleCode.h" |
| 10 #include "SkView.h" | 9 #include "SkView.h" |
| 11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 } | 142 } |
| 144 | 143 |
| 145 private: | 144 private: |
| 146 typedef SampleView INHERITED; | 145 typedef SampleView INHERITED; |
| 147 }; | 146 }; |
| 148 | 147 |
| 149 ////////////////////////////////////////////////////////////////////////////// | 148 ////////////////////////////////////////////////////////////////////////////// |
| 150 | 149 |
| 151 static SkView* MyFactory() { return new ConcavePathView; } | 150 static SkView* MyFactory() { return new ConcavePathView; } |
| 152 static SkViewRegister reg(MyFactory); | 151 static SkViewRegister reg(MyFactory); |
| OLD | NEW |