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

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

Issue 329113003: Hide chooseFromOneChoice along with 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
« 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 "SkImage.h" 10 #include "SkImage.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 return SkBitmap::kNo_Config; 89 return SkBitmap::kNo_Config;
90 } 90 }
91 91
92 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} 92 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {}
93 93
94 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, 94 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int,
95 int, int) { 95 int, int) {
96 return false; 96 return false;
97 } 97 }
98 98
99 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER
99 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { 100 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const {
100 return false; 101 return false;
101 } 102 }
103 #endif
102 104
103 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { 105 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const {
104 return false; 106 return false;
105 } 107 }
106 108
107 ///////////////////////////////////////////////////////////////////////// 109 /////////////////////////////////////////////////////////////////////////
108 110
109 // Empty implementation for SkMovie. 111 // Empty implementation for SkMovie.
110 112
111 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { 113 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) {
(...skipping 25 matching lines...) Expand all
137 } 139 }
138 140
139 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { 141 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) {
140 return NULL; 142 return NULL;
141 } 143 }
142 144
143 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
144 return false; 146 return false;
145 } 147 }
146 ///////////////////////////////////////////////////////////////////////// 148 /////////////////////////////////////////////////////////////////////////
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