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

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

Issue 1753813002: Unbust the old debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « debugger/QT/SkGLWidget.cpp ('k') | debugger/QT/SkRasterWidget.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
1 /* 2 /*
2 * SkRasterWidget.h 3 * Copyright 2016 Google Inc.
3 * 4 *
4 * Created on: Jul 28, 2012 5 * Use of this source code is governed by a BSD-style license that can be
5 * Author: chudy 6 * found in the LICENSE file.
6 */ 7 */
7 8
8
9 #ifndef SKRASTERWIDGET_H_ 9 #ifndef SKRASTERWIDGET_H_
10 #define SKRASTERWIDGET_H_ 10 #define SKRASTERWIDGET_H_
11 11
12 #include "SkSurface.h" 12 #include "SkSurface.h"
13 class SkDebugger; 13 class SkDebugger;
14 14
15 #include <QWidget> 15 #include <QWidget>
16 16
17 class SkRasterWidget : public QWidget { 17 class SkRasterWidget : public QWidget {
18 Q_OBJECT 18 Q_OBJECT
19 19
20 public: 20 public:
21 SkRasterWidget(SkDebugger* debugger); 21 SkRasterWidget(SkDebugger* debugger);
22 22
23 void updateImage(); 23 void updateImage();
24 24
25 signals: 25 Q_SIGNALS:
26 void drawComplete(); 26 void drawComplete();
27 27
28 protected: 28 protected:
29 void paintEvent(QPaintEvent* event); 29 void paintEvent(QPaintEvent* event);
30 30
31 void resizeEvent(QResizeEvent* event); 31 void resizeEvent(QResizeEvent* event);
32 32
33 private: 33 private:
34 SkDebugger* fDebugger; 34 SkDebugger* fDebugger;
35 SkAutoTUnref<SkSurface> fSurface; 35 SkAutoTUnref<SkSurface> fSurface;
36 bool fNeedImageUpdate; 36 bool fNeedImageUpdate;
37 }; 37 };
38 38
39 #endif /* SKRASTERWIDGET_H_ */ 39 #endif /* SKRASTERWIDGET_H_ */
OLDNEW
« no previous file with comments | « debugger/QT/SkGLWidget.cpp ('k') | debugger/QT/SkRasterWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698