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

Side by Side Diff: debugger/SkDebugger.cpp

Issue 243173002: Staging for cleanup of SkPicture-related headers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add crucial newline at end of file Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « bench/benchmain.cpp ('k') | dm/DMReplayTask.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 #include "SkDebugger.h" 9 #include "SkDebugger.h"
10 #include "SkPictureRecorder.h"
10 #include "SkString.h" 11 #include "SkString.h"
11 12
12 13
13 SkDebugger::SkDebugger() { 14 SkDebugger::SkDebugger() {
14 // Create this some other dynamic way? 15 // Create this some other dynamic way?
15 fDebugCanvas = new SkDebugCanvas(100, 100); 16 fDebugCanvas = new SkDebugCanvas(100, 100);
16 fPicture = NULL; 17 fPicture = NULL;
17 fPictureWidth = 0; 18 fPictureWidth = 0;
18 fPictureHeight = 0; 19 fPictureHeight = 0;
19 fIndex = 0; 20 fIndex = 0;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 overview->insert(0, totalStr); 141 overview->insert(0, totalStr);
141 142
142 overview->append("<br/>"); 143 overview->append("<br/>");
143 overview->append("SkPicture Width: "); 144 overview->append("SkPicture Width: ");
144 overview->appendS32(pictureWidth()); 145 overview->appendS32(pictureWidth());
145 overview->append("px<br/>"); 146 overview->append("px<br/>");
146 overview->append("SkPicture Height: "); 147 overview->append("SkPicture Height: ");
147 overview->appendS32(pictureHeight()); 148 overview->appendS32(pictureHeight());
148 overview->append("px"); 149 overview->append("px");
149 } 150 }
OLDNEW
« no previous file with comments | « bench/benchmain.cpp ('k') | dm/DMReplayTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698