| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * 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 |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 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" |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 bool onClick(Click* click) override { | 299 bool onClick(Click* click) override { |
| 300 this->inval(nullptr); | 300 this->inval(nullptr); |
| 301 fCenter = click->fCurr; | 301 fCenter = click->fCurr; |
| 302 return this->INHERITED::onClick(click); | 302 return this->INHERITED::onClick(click); |
| 303 } | 303 } |
| 304 | 304 |
| 305 private: | 305 private: |
| 306 typedef SampleView INHERITED; | 306 typedef SampleView INHERITED; |
| 307 }; | 307 }; |
| 308 DEF_SAMPLE( return new BackdropView; ) | 308 DEF_SAMPLE( return new BackdropView; ) |
| 309 | |
| OLD | NEW |