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

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

Issue 107123002: Fix change src/ports/SkImageDecoder_empty.cpp missed in 103033002 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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"
11 #include "SkImage.h" 10 #include "SkImage.h"
12 #include "SkImageDecoder.h" 11 #include "SkImageDecoder.h"
13 #include "SkImageEncoder.h" 12 #include "SkImageEncoder.h"
14 #include "SkMovie.h" 13 #include "SkMovie.h"
15 14
16 class SkColorTable; 15 class SkColorTable;
17 class SkStream; 16 class SkStream;
18 class SkStreamRewindable; 17 class SkStreamRewindable;
19 18
20 // Empty implementations for SkImageDecoder. 19 // Empty implementations for SkImageDecoder.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return NULL; 77 return NULL;
79 } 78 }
80 79
81 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { 80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) {
82 return NULL; 81 return NULL;
83 } 82 }
84 83
85 void SkImageDecoder::setSampleSize(int) {} 84 void SkImageDecoder::setSampleSize(int) {}
86 85
87 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*, 86 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*,
88 const SkBitmapFactory::Target*) { 87 const SkImageDecoder::Target*) {
89 return false; 88 return false;
90 } 89 }
91 90
92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { 91 SkBitmap::Config SkImageDecoder::GetDeviceConfig() {
93 return SkBitmap::kNo_Config; 92 return SkBitmap::kNo_Config;
94 } 93 }
95 94
96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} 95 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {}
97 96
98 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, 97 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 151 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
153 return false; 152 return false;
154 } 153 }
155 ///////////////////////////////////////////////////////////////////////// 154 /////////////////////////////////////////////////////////////////////////
156 155
157 // Empty implementation for SkImages. 156 // Empty implementation for SkImages.
158 157
159 #include "SkImages.h" 158 #include "SkImages.h"
160 159
161 void SkImages::InitializeFlattenables() {} 160 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