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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsTypes.h

Issue 1532473002: Add a origin clean flag in ImageBitmap class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: take care of single security origin 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/platform/graphics/GraphicsTypes.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
index 4f73466c314b24fa0cfd84bd8c1c1f2020085e08..982538929b879a1734d78f8a79e175294847d712 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
@@ -89,6 +89,11 @@ enum ImageInitializationMode {
DoNotInitializeImagePixels,
};
+enum SingleSecurityOriginType {
Justin Novosad 2016/01/08 19:08:43 I would rename this SecurityOriginMode. With value
+ HasSingleSecurityOrigin,
+ NoSingleSecurityOrigin,
+};
+
// TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2DState.h once
// GraphicsContext no longer uses it.
enum ShadowMode {

Powered by Google App Engine
This is Rietveld 408576698