| 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 "SkGraphics.h" | 10 #include "SkGraphics.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 } | 82 } |
| 84 | 83 |
| 85 private: | 84 private: |
| 86 typedef SampleView INHERITED; | 85 typedef SampleView INHERITED; |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 ////////////////////////////////////////////////////////////////////////////// | 88 ////////////////////////////////////////////////////////////////////////////// |
| 90 | 89 |
| 91 static SkView* MyFactory() { return new DashView; } | 90 static SkView* MyFactory() { return new DashView; } |
| 92 static SkViewRegister reg(MyFactory); | 91 static SkViewRegister reg(MyFactory); |
| OLD | NEW |