Update debugger GUI to have profile button & list widget to optionally display time
https://codereview.appspot.com/6813117/
git-svn-id: http://skia.googlecode.com/svn/trunk@6385 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/QT/SkDebuggerGUI.h b/debugger/QT/SkDebuggerGUI.h
index f460067..0ad275e 100644
--- a/debugger/QT/SkDebuggerGUI.h
+++ b/debugger/QT/SkDebuggerGUI.h
@@ -61,6 +61,11 @@
void actionBreakpoints();
/**
+ Profile the commands
+ */
+ void actionProfile();
+
+ /**
Cancels the command filter in the list widget.
*/
void actionCancel();
@@ -206,6 +211,7 @@
QAction fActionOpen;
QAction fActionBreakpoint;
+ QAction fActionProfile;
QAction fActionCancel;
QAction fActionClearBreakpoints;
QAction fActionClearDeletes;
@@ -244,6 +250,7 @@
SkSettingsWidget fSettingsWidget;
QString fPath;
+ SkString fFileName;
bool fDirectoryWidgetActive;
QMenuBar fMenuBar;
@@ -268,12 +275,12 @@
Pipes a QString in with the location of the filename, proceeds to updating
the listwidget, combowidget and inspectorwidget.
*/
- void loadPicture(QString fileName);
+ void loadPicture(const SkString& fileName);
/**
Creates a picture of the current canvas.
*/
- void saveToFile(QString filename);
+ void saveToFile(const SkString& filename);
/**
Populates the list widget with the vector of strings passed in.