Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: debugger/QT/SkDrawCommandGeometryWidget.h

Issue 835903002: debugger: Update inspector view data consistently while paused (Closed) Base URL: https://skia.googlesource.com/skia.git@debugger-small-things-02-debuggergui-redundant-variables
Patch Set: rename a function Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
11 11
12 #include <QFrame> 12 #include <QFrame>
13 13
14 #include "SkSurface.h" 14 #include "SkSurface.h"
15 class SkDebugger; 15 class SkDebugger;
16 16
17 class SkDrawCommandGeometryWidget : public QFrame { 17 class SkDrawCommandGeometryWidget : public QFrame {
18 Q_OBJECT 18 Q_OBJECT
19 19
20 public: 20 public:
21 SkDrawCommandGeometryWidget(SkDebugger* debugger); 21 SkDrawCommandGeometryWidget(SkDebugger* debugger);
22 22 void setDrawCommandIndex(int index);
23 public slots:
24 void updateImage();
25 23
26 protected: 24 protected:
27 void paintEvent(QPaintEvent* event); 25 void paintEvent(QPaintEvent* event);
28 void resizeEvent(QResizeEvent* event); 26 void resizeEvent(QResizeEvent* event);
29 27
30 private: 28 private:
29 void updateImage();
30
31 SkDebugger* fDebugger; 31 SkDebugger* fDebugger;
32 SkAutoTUnref<SkSurface> fSurface; 32 SkAutoTUnref<SkSurface> fSurface;
33 int fCommandIndex;
33 }; 34 };
34 35
35 #endif /* SKDRAWCOMMANDGEOMETRYWIDGET_H_ */ 36 #endif /* SKDRAWCOMMANDGEOMETRYWIDGET_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698