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

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

Issue 331433003: hide SkImageDecoder::Chooser (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 const char* SkImageDecoder::GetFormatName(Format) { 68 const char* SkImageDecoder::GetFormatName(Format) {
69 return NULL; 69 return NULL;
70 } 70 }
71 71
72 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) { 72 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) {
73 return NULL; 73 return NULL;
74 } 74 }
75 75
76 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER
76 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { 77 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) {
77 return NULL; 78 return NULL;
78 } 79 }
80 #endif
79 81
80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { 82 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) {
81 return NULL; 83 return NULL;
82 } 84 }
83 85
84 void SkImageDecoder::setSampleSize(int) {} 86 void SkImageDecoder::setSampleSize(int) {}
85 87
86 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { 88 SkBitmap::Config SkImageDecoder::GetDeviceConfig() {
87 return SkBitmap::kNo_Config; 89 return SkBitmap::kNo_Config;
88 } 90 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 137 }
136 138
137 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { 139 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) {
138 return NULL; 140 return NULL;
139 } 141 }
140 142
141 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 143 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
142 return false; 144 return false;
143 } 145 }
144 ///////////////////////////////////////////////////////////////////////// 146 /////////////////////////////////////////////////////////////////////////
OLDNEW
« src/images/SkImageDecoder_libico.cpp ('K') | « src/images/SkImageDecoder_pkm.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698