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

Side by Side Diff: third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl

Issue 1609763002: Implement ImageBitmap options premultiplyAlpha (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: apply comments Created 4 years, 10 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 enum ImageOrientation { "none", "flipY" }; 5 [RuntimeEnabled=ExperimentalCanvasFeatures] enum ImageOrientation { "none", "fli pY" };
6 [RuntimeEnabled=ExperimentalCanvasFeatures] enum PremultiplyAlpha { "none", "def ault" };
6 dictionary ImageBitmapOptions { 7 dictionary ImageBitmapOptions {
7 boolean premuiltiplyAlpha; 8 [RuntimeEnabled=ExperimentalCanvasFeatures] PremultiplyAlpha premultiplyAlph a = "default";
8 ImageOrientation imageOrientation = "none"; 9 [RuntimeEnabled=ExperimentalCanvasFeatures] ImageOrientation imageOrientatio n = "none";
9 }; 10 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698