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

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

Issue 822583003: debugger: Move Skia initialization out of the GUI widget class (Closed) Base URL: https://skia.googlesource.com/skia.git@scratch-key-uint-warning-fix
Patch Set: 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
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.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 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SKDEBUGGERUI_H 9 #ifndef SKDEBUGGERUI_H
10 #define SKDEBUGGERUI_H 10 #define SKDEBUGGERUI_H
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class SkDebuggerGUI : public QMainWindow { 49 class SkDebuggerGUI : public QMainWindow {
50 Q_OBJECT 50 Q_OBJECT
51 51
52 public: 52 public:
53 /** 53 /**
54 Constructs the view of the application. 54 Constructs the view of the application.
55 @param parent The parent container of this widget. 55 @param parent The parent container of this widget.
56 */ 56 */
57 SkDebuggerGUI(QWidget *parent = 0); 57 SkDebuggerGUI(QWidget *parent = 0);
58 58
59 ~SkDebuggerGUI();
60
61 /** 59 /**
62 Updates the directory widget with the latest directory path stored in 60 Updates the directory widget with the latest directory path stored in
63 the global class variable fPath. 61 the global class variable fPath.
64 */ 62 */
65 void setupDirectoryWidget(const QString& path); 63 void setupDirectoryWidget(const QString& path);
66 64
67 /** 65 /**
68 Loads the specified file. 66 Loads the specified file.
69 */ 67 */
70 void openFile(const QString& filename); 68 void openFile(const QString& filename);
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 /** 350 /**
353 Render the supplied picture several times tracking the time consumed 351 Render the supplied picture several times tracking the time consumed
354 by each command. 352 by each command.
355 */ 353 */
356 void run(const SkPicture* pict, 354 void run(const SkPicture* pict,
357 sk_tools::PictureRenderer* renderer, 355 sk_tools::PictureRenderer* renderer,
358 int repeats); 356 int repeats);
359 }; 357 };
360 358
361 #endif // SKDEBUGGERUI_H 359 #endif // SKDEBUGGERUI_H
OLDNEW
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698