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

Unified Diff: ui/gfx/image/image_skia_operations.h

Issue 11232049: Revert 162636 - Use LANCZOS3 resize algorithm to generate missing image reps for extension action i… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/image/image_skia_operations.h
===================================================================
--- ui/gfx/image/image_skia_operations.h (revision 163346)
+++ ui/gfx/image/image_skia_operations.h (working copy)
@@ -79,21 +79,10 @@
const gfx::Rect& subset_bounds);
// Creates an image by resizing |source| to given |target_dip_size|.
- // If |source| is missing the representation for a required scale factor, the
- // representation for the scale factor will be generated by resizing one of
- // |source|'s existing representations' bitmap to the target pixel size.
- // The bitmap will be resized using resize method |methd|.
static ImageSkia CreateResizedImage(const ImageSkia& source,
skia::ImageOperations::ResizeMethod methd,
const Size& target_dip_size);
- // Creates an image which inherits image representations from |source|.
- // Image representations for the scale factors not containted in |source| are
- // generated by resizing existing representations using |method|.
- static ImageSkia CreateImageWithCustomResizeMethod(
- const ImageSkia& source,
- skia::ImageOperations::ResizeMethod method);
-
// Creates an image with drop shadow defined in |shadows| for |source|.
static ImageSkia CreateImageWithDropShadow(const ImageSkia& source,
const ShadowValues& shadows);
« no previous file with comments | « chrome/browser/extensions/api/extension_action/extension_actions_api.cc ('k') | ui/gfx/image/image_skia_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698