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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js

Issue 8423055: [Aura] Initial app list webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove grabber.js Created 9 years, 1 month 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: chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js
diff --git a/chrome/browser/resources/ntp4/drag_wrapper.js b/chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js
similarity index 97%
rename from chrome/browser/resources/ntp4/drag_wrapper.js
rename to chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js
index 9601b1c8af0406888bc5fe8491eb4c53cd8e6e31..510c1f981936a4af0cefdd06458412578dff40ae 100644
--- a/chrome/browser/resources/ntp4/drag_wrapper.js
+++ b/chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js
@@ -7,7 +7,7 @@
* A class for simplifying HTML5 drag and drop. Classes should use this to
* handle the nitty gritty of nested drag enters and leaves.
*/
-var DragWrapper = (function() {
+cr.define('cr.ui', function() {
/**
* Creates a DragWrapper which listens for drag target events on |target| and
* delegates event handling to |handler|. The |handler| must implement:
@@ -112,5 +112,7 @@ var DragWrapper = (function() {
},
};
- return DragWrapper;
-})();
+ return {
+ DragWrapper: DragWrapper
+ };
+});
« no previous file with comments | « chrome/browser/resources/shared/js/cr/ui/card_slider.js ('k') | chrome/browser/resources/shared/js/cr/ui/touch_handler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698