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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.h

Issue 51033004: add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | « src/utils/SkCanvasStateUtils.cpp ('k') | src/utils/debugger/SkObjectParser.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 9
10 #ifndef SKDEBUGCANVAS_H_ 10 #ifndef SKDEBUGCANVAS_H_
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 SkTDArray<SkString*>* getCommandInfo(int index); 102 SkTDArray<SkString*>* getCommandInfo(int index);
103 103
104 /** 104 /**
105 Returns the visibility of the command at the given index. 105 Returns the visibility of the command at the given index.
106 @param index The index of the command 106 @param index The index of the command
107 */ 107 */
108 bool getDrawCommandVisibilityAt(int index); 108 bool getDrawCommandVisibilityAt(int index);
109 109
110 /** 110 /**
111 Returns the vector of draw commands 111 Returns the vector of draw commands
112 DEPRECATED: please use getDrawCommandAt and getSize instead
113 */ 112 */
113 SK_ATTR_DEPRECATED("please use getDrawCommandAt and getSize instead")
114 const SkTDArray<SkDrawCommand*>& getDrawCommands() const; 114 const SkTDArray<SkDrawCommand*>& getDrawCommands() const;
115 115
116 /** 116 /**
117 Returns the vector of draw commands. Do not use this entry 117 Returns the vector of draw commands. Do not use this entry
118 point - it is going away! 118 point - it is going away!
119 */ 119 */
120 SkTDArray<SkDrawCommand*>& getDrawCommands(); 120 SkTDArray<SkDrawCommand*>& getDrawCommands();
121 121
122 /** 122 /**
123 * Returns the string vector of draw commands 123 * Returns the string vector of draw commands
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 /** 276 /**
277 Applies any panning and zooming the user has specified before 277 Applies any panning and zooming the user has specified before
278 drawing anything else into the canvas. 278 drawing anything else into the canvas.
279 */ 279 */
280 void applyUserTransform(SkCanvas* canvas); 280 void applyUserTransform(SkCanvas* canvas);
281 281
282 typedef SkCanvas INHERITED; 282 typedef SkCanvas INHERITED;
283 }; 283 };
284 284
285 #endif 285 #endif
OLDNEW
« no previous file with comments | « src/utils/SkCanvasStateUtils.cpp ('k') | src/utils/debugger/SkObjectParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698