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

Side by Side Diff: src/ports/SkImageDecoder_empty.cpp

Issue 25536004: Empty implementations for SkImageDecoder. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 | 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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 "SkBitmap.h" 9 #include "SkBitmap.h"
10 #include "SkBitmapFactory.h" 10 #include "SkBitmapFactory.h"
11 #include "SkImage.h" 11 #include "SkImage.h"
12 #include "SkImageDecoder.h" 12 #include "SkImageDecoder.h"
13 #include "SkImageEncoder.h" 13 #include "SkImageEncoder.h"
14 #include "SkMovie.h" 14 #include "SkMovie.h"
15 15
16 class SkColorTable; 16 class SkColorTable;
17 class SkStream; 17 class SkStream;
18 class SkStreamRewindable; 18 class SkStreamRewindable;
19 19
20 // Empty implementations for SkImageDecoder. 20 // Empty implementations for SkImageDecoder.
21 21
22 SkImageDecoder::SkImageDecoder() {}
23
24 SkImageDecoder::~SkImageDecoder() {}
25
22 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) { 26 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) {
23 return NULL; 27 return NULL;
24 } 28 }
25 29
26 void SkImageDecoder::copyFieldsToOther(SkImageDecoder* ) {} 30 void SkImageDecoder::copyFieldsToOther(SkImageDecoder* ) {}
27 31
28 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config, 32 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config,
29 SkImageDecoder::Mode, SkImageDecoder::Format*) { 33 SkImageDecoder::Mode, SkImageDecoder::Format*) {
30 return false; 34 return false;
31 } 35 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
149 return false; 153 return false;
150 } 154 }
151 ///////////////////////////////////////////////////////////////////////// 155 /////////////////////////////////////////////////////////////////////////
152 156
153 // Empty implementation for SkImages. 157 // Empty implementation for SkImages.
154 158
155 #include "SkImages.h" 159 #include "SkImages.h"
156 160
157 void SkImages::InitializeFlattenables() {} 161 void SkImages::InitializeFlattenables() {}
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