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

Unified Diff: third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl

Issue 1631733003: Implementing ImageBitmap option imageOrientation of flipY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl
index 2f54dd070457f714e7993b0ad361f50c7802e537..47076fc4ab8555ce4d17b664702e0e29b43a1d02 100644
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+enum ImageOrientation { "none", "flipY", "topLeft", "bottomLeft" };
dictionary ImageBitmapOptions {
boolean premuiltiplyAlpha;
+ ImageOrientation orientation = "topLeft";
jbroman 2016/02/02 16:06:52 As junov says, this is "ImageOrientation imageOrie
xidachen 2016/02/03 02:17:20 Acknowledged.
};

Powered by Google App Engine
This is Rietveld 408576698