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

Side by Side Diff: include/core/SkPictureRecorder.h

Issue 344473002: Update the name of the friended android class and add the appropriate guards. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | no next file » | 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 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPictureRecorder_DEFINED 8 #ifndef SkPictureRecorder_DEFINED
9 #define SkPictureRecorder_DEFINED 9 #define SkPictureRecorder_DEFINED
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 existing optimizations (i.e., to actually have the pattern 50 existing optimizations (i.e., to actually have the pattern
51 appear in an .skp we have to disable the optimization). Call right 51 appear in an .skp we have to disable the optimization). Call right
52 after 'beginRecording'. 52 after 'beginRecording'.
53 */ 53 */
54 void internalOnly_EnableOpts(bool enableOpts); 54 void internalOnly_EnableOpts(bool enableOpts);
55 55
56 private: 56 private:
57 /** Replay the current (partially recorded) operation stream into 57 /** Replay the current (partially recorded) operation stream into
58 canvas. This call doesn't close the current recording. 58 canvas. This call doesn't close the current recording.
59 */ 59 */
60 friend class AndroidPicture; 60 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
61 friend class Picture;
reed1 2014/06/17 18:20:12 Is that really the name? No namespace around it? W
62 #endif
61 friend class SkPictureRecorderReplayTester; // for unit testing 63 friend class SkPictureRecorderReplayTester; // for unit testing
62 void partialReplay(SkCanvas* canvas) const; 64 void partialReplay(SkCanvas* canvas) const;
63 65
64 int fWidth; 66 int fWidth;
65 int fHeight; 67 int fHeight;
66 SkPictureRecord* fCanvas; // ref counted 68 SkPictureRecord* fCanvas; // ref counted
67 69
68 typedef SkNoncopyable INHERITED; 70 typedef SkNoncopyable INHERITED;
69 }; 71 };
70 72
71 #endif 73 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698