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

Side by Side Diff: experimental/PdfViewer/SkNulCanvas.h

Issue 23361009: pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to matc… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 | « no previous file | experimental/PdfViewer/SkNulCanvas.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 #ifndef EXPERIMENTAL_PDFVIEWER_SKNULCANVAS_H_ 1 /*
2 #define EXPERIMENTAL_PDFVIEWER_SKNULCANVAS_H_ 2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkNulCanvas_DEFINED
9 #define SkNulCanvas_DEFINED
3 10
4 #include "SkCanvas.h" 11 #include "SkCanvas.h"
5 12
6 class SK_API SkNulCanvas : public SkCanvas { 13 class SK_API SkNulCanvas : public SkCanvas {
7 public: 14 public:
8 SK_DECLARE_INST_COUNT(SkNulCanvas); 15 SK_DECLARE_INST_COUNT(SkNulCanvas);
9 16
10 SkNulCanvas() {} 17 SkNulCanvas() {}
11 explicit SkNulCanvas(SkDevice* device) : SkCanvas(device) {} 18 explicit SkNulCanvas(SkDevice* device) : SkCanvas(device) {}
12 19
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) {return NULL;} 88 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) {return NULL;}
82 89
83 protected: 90 protected:
84 virtual SkCanvas* canvasForDrawIter() {return NULL;} 91 virtual SkCanvas* canvasForDrawIter() {return NULL;}
85 virtual SkDevice* setDevice(SkDevice* device) {return NULL;} 92 virtual SkDevice* setDevice(SkDevice* device) {return NULL;}
86 93
87 private: 94 private:
88 typedef SkCanvas INHERITED; 95 typedef SkCanvas INHERITED;
89 }; 96 };
90 97
91 #endif // EXPERIMENTAL_PDFVIEWER_SKNULCANVAS_H_ 98 #endif // SkNulCanvas_DEFINED
OLDNEW
« no previous file with comments | « no previous file | experimental/PdfViewer/SkNulCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698