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

Unified Diff: Source/modules/crypto/DOMWindowCrypto.idl

Issue 15901021: Move window.crypto to modules/crypto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile error in debug mode Created 7 years, 6 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
« no previous file with comments | « Source/modules/crypto/DOMWindowCrypto.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/DOMWindowCrypto.idl
diff --git a/Source/core/html/canvas/CanvasPattern.idl b/Source/modules/crypto/DOMWindowCrypto.idl
similarity index 90%
copy from Source/core/html/canvas/CanvasPattern.idl
copy to Source/modules/crypto/DOMWindowCrypto.idl
index 68003c7b358873e8bbe8138d38c5ec92b337c209..021eeaf8f12f0dc796d8b619744171523a3a031e 100644
--- a/Source/core/html/canvas/CanvasPattern.idl
+++ b/Source/modules/crypto/DOMWindowCrypto.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -20,9 +20,10 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
-] interface CanvasPattern {
+
+partial interface DOMWindow {
+ readonly attribute Crypto crypto;
};
« no previous file with comments | « Source/modules/crypto/DOMWindowCrypto.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698