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

Side by Side Diff: debugger/QT/SkDebuggerGUI.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
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | debugger/QT/SkDebuggerGUI.cpp » ('J')
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 */ 195 */
196 void openFile(); 196 void openFile();
197 197
198 /** 198 /**
199 Toggles whether drawing to a new command requires a double click 199 Toggles whether drawing to a new command requires a double click
200 or simple focus. 200 or simple focus.
201 */ 201 */
202 void pauseDrawing(bool isPaused = true); 202 void pauseDrawing(bool isPaused = true);
203 203
204 /** 204 /**
205 Executes draw commands up to the selected command 205 Updates the UI based on the selected command.
206 */ 206 */
207 void registerListClick(QListWidgetItem *item); 207 void updateDrawCommandInfo();
208 208
209 /** 209 /**
210 Sets the command to active in the list widget. 210 Sets the command to active in the list widget.
211 */ 211 */
212 void selectCommand(int command); 212 void selectCommand(int command);
213 213
214 /** 214 /**
215 Toggles the exclusive listing of commands set as deleted. 215 Toggles the exclusive listing of commands set as deleted.
216 */ 216 */
217 void showDeletes(); 217 void showDeletes();
218 218
219 /** 219 /**
220 Toggles a breakpoint on the current step in the list widget. 220 Toggles a breakpoint on the current step in the list widget.
221 */ 221 */
222 void toggleBreakpoint(); 222 void toggleBreakpoint();
223 223
224 /** 224 /**
225 Toggles the visibility of the directory widget. 225 Toggles the visibility of the directory widget.
226 */ 226 */
227 void toggleDirectory(); 227 void toggleDirectory();
228 228
229 /** 229 /**
230 Filters the list widgets command visibility based on the currently 230 Filters the list widgets command visibility based on the currently
231 active selection. 231 active selection.
232 */ 232 */
233 void toggleFilter(QString string); 233 void toggleFilter(QString string);
234 234
235 void updateCommand(int newCommand);
236 void updateHit(int newHit); 235 void updateHit(int newHit);
237 private: 236 private:
238 QSplitter fCentralSplitter; 237 QSplitter fCentralSplitter;
239 QStatusBar fStatusBar; 238 QStatusBar fStatusBar;
240 QToolBar fToolBar; 239 QToolBar fToolBar;
241 240
242 QAction fActionOpen; 241 QAction fActionOpen;
243 QAction fActionBreakpoint; 242 QAction fActionBreakpoint;
244 QAction fActionToggleIndexStyle; 243 QAction fActionToggleIndexStyle;
245 QAction fActionProfile; 244 QAction fActionProfile;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 /** 330 /**
332 Populates the combo box widget with with the debugger draw command info. 331 Populates the combo box widget with with the debugger draw command info.
333 */ 332 */
334 void setupComboBox(); 333 void setupComboBox();
335 334
336 /** 335 /**
337 Fills in the overview pane with text 336 Fills in the overview pane with text
338 */ 337 */
339 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i nt numRuns); 338 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i nt numRuns);
340 339
341 /**
342 Fills in the clip stack pane with text
343 */
344 void setupClipStackText();
345 340
346 /** 341 /**
347 Render the supplied picture several times tracking the time consumed 342 Render the supplied picture several times tracking the time consumed
348 by each command. 343 by each command.
349 */ 344 */
350 void run(const SkPicture* pict, 345 void run(const SkPicture* pict,
351 sk_tools::PictureRenderer* renderer, 346 sk_tools::PictureRenderer* renderer,
352 int repeats); 347 int repeats);
353 348
354 bool isPaused() const { 349 bool isPaused() const {
355 return fActionPause.isChecked(); 350 return fActionPause.isChecked();
356 } 351 }
357 }; 352 };
358 353
359 #endif // SKDEBUGGERUI_H 354 #endif // SKDEBUGGERUI_H
OLDNEW
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | debugger/QT/SkDebuggerGUI.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698