| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 | 8 |
| 9 #ifndef SKDRAWCOMMANDGEOMETRYWIDGET_H_ | 9 #ifndef SKDRAWCOMMANDGEOMETRYWIDGET_H_ |
| 10 #define SKDRAWCOMMANDGEOMETRYWIDGET_H_ | 10 #define SKDRAWCOMMANDGEOMETRYWIDGET_H_ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 void setDrawCommandIndex(int index); | 22 void setDrawCommandIndex(int index); |
| 23 | 23 |
| 24 protected: | 24 protected: |
| 25 void paintEvent(QPaintEvent* event); | 25 void paintEvent(QPaintEvent* event); |
| 26 void resizeEvent(QResizeEvent* event); | 26 void resizeEvent(QResizeEvent* event); |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 void updateImage(); | 29 void updateImage(); |
| 30 | 30 |
| 31 SkDebugger* fDebugger; | 31 SkDebugger* fDebugger; |
| 32 SkAutoTUnref<SkSurface> fSurface; | 32 sk_sp<SkSurface> fSurface; |
| 33 int fCommandIndex; | 33 int fCommandIndex; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 #endif /* SKDRAWCOMMANDGEOMETRYWIDGET_H_ */ | 36 #endif /* SKDRAWCOMMANDGEOMETRYWIDGET_H_ */ |
| OLD | NEW |