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

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

Issue 916963002: Revert of Fix Chromium build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | « debugger/QT/SkDebuggerGUI.cpp ('k') | tests/MatrixClipCollapseTest.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 #ifndef SKDRAWCOMMAND_H_ 9 #ifndef SKDRAWCOMMAND_H_
10 #define SKDRAWCOMMAND_H_ 10 #define SKDRAWCOMMAND_H_
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 protected: 104 protected:
105 SkTDArray<SkString*> fInfo; 105 SkTDArray<SkString*> fInfo;
106 106
107 private: 107 private:
108 OpType fOpType; 108 OpType fOpType;
109 size_t fOffset; 109 size_t fOffset;
110 bool fVisible; 110 bool fVisible;
111 }; 111 };
112 112
113 typedef SkDrawCommand::OpType DrawType;
114
115 class SkRestoreCommand : public SkDrawCommand { 113 class SkRestoreCommand : public SkDrawCommand {
116 public: 114 public:
117 SkRestoreCommand(); 115 SkRestoreCommand();
118 void execute(SkCanvas* canvas) const SK_OVERRIDE; 116 void execute(SkCanvas* canvas) const SK_OVERRIDE;
119 Action action() const SK_OVERRIDE { return kPopLayer_Action; } 117 Action action() const SK_OVERRIDE { return kPopLayer_Action; }
120 118
121 private: 119 private:
122 typedef SkDrawCommand INHERITED; 120 typedef SkDrawCommand INHERITED;
123 }; 121 };
124 122
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 void setUserMatrix(const SkMatrix&) SK_OVERRIDE; 586 void setUserMatrix(const SkMatrix&) SK_OVERRIDE;
589 void execute(SkCanvas* canvas) const SK_OVERRIDE; 587 void execute(SkCanvas* canvas) const SK_OVERRIDE;
590 private: 588 private:
591 SkMatrix fUserMatrix; 589 SkMatrix fUserMatrix;
592 SkMatrix fMatrix; 590 SkMatrix fMatrix;
593 591
594 typedef SkDrawCommand INHERITED; 592 typedef SkDrawCommand INHERITED;
595 }; 593 };
596 594
597 #endif 595 #endif
OLDNEW
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | tests/MatrixClipCollapseTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698