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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/touch_handler.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/touch_handler.js
diff --git a/chrome/browser/resources/ntp4/touch_handler.js b/chrome/browser/resources/shared/js/cr/ui/touch_handler.js
similarity index 99%
rename from chrome/browser/resources/ntp4/touch_handler.js
rename to chrome/browser/resources/shared/js/cr/ui/touch_handler.js
index 927bebb2d5f995ee30e573c117ddc810ec1f6c1a..b9840b5ae7ab6686de643630911c85981e98082e 100644
--- a/chrome/browser/resources/ntp4/touch_handler.js
+++ b/chrome/browser/resources/shared/js/cr/ui/touch_handler.js
@@ -31,7 +31,7 @@
// Use an anonymous function to enable strict mode just for this file (which
// will be concatenated with other files when embedded in Chrome)
-var TouchHandler = (function() {
+cr.define('cr.ui', function() {
'use strict';
/**
@@ -126,7 +126,7 @@ var TouchHandler = (function() {
/**
* The type of event sent by TouchHandler
* @constructor
- * @param {string} type The type of event (one of Grabber.EventType).
+ * @param {string} type The type of event (one of cr.ui.Grabber.EventType).
* @param {boolean} bubbles Whether or not the event should bubble.
* @param {number} clientX The X location of the touch.
* @param {number} clientY The Y location of the touch.
@@ -846,5 +846,7 @@ var TouchHandler = (function() {
}
};
- return TouchHandler;
-})();
+ return {
+ TouchHandler: TouchHandler
+ };
+});
« no previous file with comments | « chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js ('k') | chrome/browser/resources/shared/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698