| 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 #include "SampleCode.h" | 7 #include "SampleCode.h" |
| 9 #include "SkView.h" | 8 #include "SkView.h" |
| 10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 11 #include "SkTypeface.h" | 10 #include "SkTypeface.h" |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 130 } |
| 132 | 131 |
| 133 private: | 132 private: |
| 134 typedef SkView INHERITED; | 133 typedef SkView INHERITED; |
| 135 }; | 134 }; |
| 136 | 135 |
| 137 ////////////////////////////////////////////////////////////////////////////// | 136 ////////////////////////////////////////////////////////////////////////////// |
| 138 | 137 |
| 139 static SkView* MyFactory() { return new FontScalerTestView; } | 138 static SkView* MyFactory() { return new FontScalerTestView; } |
| 140 static SkViewRegister reg(MyFactory); | 139 static SkViewRegister reg(MyFactory); |
| OLD | NEW |