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

Unified Diff: experimental/conways_life/events/dragger.js

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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 | « experimental/conways_life/cws/screenshot_small.jpg ('k') | experimental/conways_life/events/event.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/conways_life/events/dragger.js
diff --git a/experimental/conways_life/events/dragger.js b/experimental/conways_life/events/dragger.js
deleted file mode 100644
index 0850f77bd952471b0830c53eff29e0ca2185d216..0000000000000000000000000000000000000000
--- a/experimental/conways_life/events/dragger.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2011 (c) The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview Implement the mouse drag wrapper class, Dragger, that
- * produces simple mouse-dragged events. These work like mouse-moved events,
- * only they are sent while a mouse button is down (that is, when the mouse is
- * being dragged).
- */
-
-goog.provide('uikit.events.Dragger');
-
-goog.require('goog.fx.Dragger');
-
-/**
- * Constructor for the Dragger object. This is a subclass of goog.fx.Dragger
- * that overrides defaultAction() to do nothing, so that the drag event is
- * simply sent onto its target, instead of moving its target. Overriding the
- * defaultAction() method to do nothing implements a simple mouse-drag event.
- * @param {?Object} opt_element Generate mouse-drag events using this element.
- * The default element is the document.
- * @constructor
- * @extends {goog.fx.Dragger}
- */
-uikit.events.Dragger = function(opt_element) {
- goog.fx.Dragger.call(this, opt_element || document);
-};
-goog.inherits(uikit.events.Dragger, goog.fx.Dragger);
-
-/**
- * Override defaultAction() to do nothing. Instead, the target listens for
- * DRAG events and reacts to them by rolling the trackball.
- * @param {number} x X-coordinate for target element.
- * @param {number} y Y-coordinate for target element.
- * @override
- */
-uikit.events.Dragger.prototype.defaultAction = function(x, y) {
- // Do nothing. This overrides the default implementation that changes the
- // position style properties of the target.
-};
« no previous file with comments | « experimental/conways_life/cws/screenshot_small.jpg ('k') | experimental/conways_life/events/event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698