| 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 "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 10 #include "SkPaint.h" | 9 #include "SkPaint.h" |
| 11 #include "SkView.h" | 10 #include "SkView.h" |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 } | 235 } |
| 237 | 236 |
| 238 private: | 237 private: |
| 239 typedef SkView INHERITED; | 238 typedef SkView INHERITED; |
| 240 }; | 239 }; |
| 241 | 240 |
| 242 /////////////////////////////////////////////////////////////////////////////// | 241 /////////////////////////////////////////////////////////////////////////////// |
| 243 | 242 |
| 244 static SkView* MyFactory() { return new SkLayerView; } | 243 static SkView* MyFactory() { return new SkLayerView; } |
| 245 static SkViewRegister reg(MyFactory); | 244 static SkViewRegister reg(MyFactory); |
| OLD | NEW |