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

Unified Diff: experimental/flocking_geese/js/slider_event.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/flocking_geese/js/slider.js ('k') | experimental/flocking_geese/js/speedometer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/flocking_geese/js/slider_event.js
diff --git a/experimental/flocking_geese/js/slider_event.js b/experimental/flocking_geese/js/slider_event.js
deleted file mode 100644
index e544c55f68d60969f63e254a85d663026b676155..0000000000000000000000000000000000000000
--- a/experimental/flocking_geese/js/slider_event.js
+++ /dev/null
@@ -1,53 +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.
-
-/**
- * @file
- * The event dispatched by a Slider.
- */
-
-goog.provide('SliderEvent');
-
-goog.require('goog.events');
-goog.require('goog.events.Event');
-
-/**
- * A slider event. Contains the slider value and stepValue.
- * @param {!number} value The slider's value (measured in pixels).
- * @param {!number} stepValue The corresponding step value of the slider.
- * @param {?Element} opt_target Reference to the object that is the target of
- * this event. It has to implement the {@code EventTarget} interface
- * declared at {@link http://developer.mozilla.org/en/DOM/EventTarget}.
- * @constructor
- * @extends {goog.Event}
- */
-SliderEvent = function(value, stepValue, opt_target) {
- goog.events.Event.call(this, SliderEvent.EventType.CHANGE, opt_target);
-
- /**
- * Cached properties.
- * @type {number}
- */
- this.value = value;
- this.stepValue = stepValue;
-}
-goog.inherits(SliderEvent, goog.events.Event);
-
-/**
- * The ids used for slider event types.
- * @enum {string}
- */
-SliderEvent.EventType = {
- CHANGE: 'sliderchanged' // The slider's value changed.
-};
-
-/**
- * Override of disposeInternal() to dispose of retained objects and unhook all
- * events.
- * @override
- */
-SliderEvent.prototype.disposeInternal = function() {
- SliderEvent.superClass_.disposeInternal.call(this);
-}
-
« no previous file with comments | « experimental/flocking_geese/js/slider.js ('k') | experimental/flocking_geese/js/speedometer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698