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

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: change to enum instead of boolean 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 enum ImageOrientation { "none", "flipY" };
6 enum PremultiplyAlpha { "none", "default" };
6 dictionary ImageBitmapOptions { 7 dictionary ImageBitmapOptions {
Justin Novosad 2016/02/05 14:46:41 I think this interface should be hidden behind the
xidachen 2016/02/05 16:47:36 Acknowledged.
7 boolean premuiltiplyAlpha; 8 PremultiplyAlpha premultiplyAlpha = "default";
8 ImageOrientation imageOrientation = "none"; 9 ImageOrientation imageOrientation = "none";
9 }; 10 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698