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

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

Issue 816273002: remove dead SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« no previous file with comments | « src/images/SkImageDecoder_pkm.cpp ('k') | 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 "SkImage.h" 10 #include "SkImage.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 const char* SkImageDecoder::GetFormatName(Format) { 63 const char* SkImageDecoder::GetFormatName(Format) {
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) { 67 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) {
68 return NULL; 68 return NULL;
69 } 69 }
70 70
71 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER
72 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) {
73 return NULL;
74 }
75 #endif
76
77 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { 71 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) {
78 return NULL; 72 return NULL;
79 } 73 }
80 74
81 void SkImageDecoder::setSampleSize(int) {} 75 void SkImageDecoder::setSampleSize(int) {}
82 76
83 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, 77 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int,
84 int, int) { 78 int, int) {
85 return false; 79 return false;
86 } 80 }
87 81
88 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER
89 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const {
90 return false;
91 }
92 #endif
93
94 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { 82 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const {
95 return false; 83 return false;
96 } 84 }
97 85
98 ///////////////////////////////////////////////////////////////////////// 86 /////////////////////////////////////////////////////////////////////////
99 87
100 // Empty implementation for SkMovie. 88 // Empty implementation for SkMovie.
101 89
102 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { 90 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) {
103 return NULL; 91 return NULL;
(...skipping 24 matching lines...) Expand all
128 } 116 }
129 117
130 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { 118 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) {
131 return NULL; 119 return NULL;
132 } 120 }
133 121
134 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 122 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
135 return false; 123 return false;
136 } 124 }
137 ///////////////////////////////////////////////////////////////////////// 125 /////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « src/images/SkImageDecoder_pkm.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698