OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | |
6 | |
7 /** | 5 /** |
8 * A stack of overlays that display itself and handle mouse events. | 6 * A stack of overlays that display itself and handle mouse events. |
9 * TODO(kaznacheev) Consider disbanding this class and moving | 7 * TODO(kaznacheev) Consider disbanding this class and moving |
10 * the functionality to individual objects that display anything or handle | 8 * the functionality to individual objects that display anything or handle |
11 * mouse events. | 9 * mouse events. |
12 * @constructor | 10 * @constructor |
13 */ | 11 */ |
14 function ImageBuffer() { | 12 function ImageBuffer() { |
15 this.overlays_ = []; | 13 this.overlays_ = []; |
16 } | 14 } |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 173 |
176 /** | 174 /** |
177 * TODO(JSDOC). | 175 * TODO(JSDOC). |
178 * @param {number} x // TODO(JSDOC). | 176 * @param {number} x // TODO(JSDOC). |
179 * @param {number} y // TODO(JSDOC). | 177 * @param {number} y // TODO(JSDOC). |
180 * @return {ImageBuffer.DoubleTapAction} // TODO(JSDOC). | 178 * @return {ImageBuffer.DoubleTapAction} // TODO(JSDOC). |
181 */ | 179 */ |
182 ImageBuffer.Overlay.prototype.getDoubleTapAction = function(x, y) { | 180 ImageBuffer.Overlay.prototype.getDoubleTapAction = function(x, y) { |
183 return ImageBuffer.DoubleTapAction.NOTHING; | 181 return ImageBuffer.DoubleTapAction.NOTHING; |
184 }; | 182 }; |
OLD | NEW |