| 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 /** | 5 /** |
| 6 * A stack of overlays that display itself and handle mouse events. | 6 * A stack of overlays that display itself and handle mouse events. |
| 7 * TODO(kaznacheev) Consider disbanding this class and moving | 7 * TODO(kaznacheev) Consider disbanding this class and moving |
| 8 * the functionality to individual objects that display anything or handle | 8 * the functionality to individual objects that display anything or handle |
| 9 * mouse events. | 9 * mouse events. |
| 10 * @constructor | 10 * @constructor |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 */ | 116 */ |
| 117 ImageBuffer.DoubleTapAction = { | 117 ImageBuffer.DoubleTapAction = { |
| 118 NOTHING: 0, | 118 NOTHING: 0, |
| 119 COMMIT: 1, | 119 COMMIT: 1, |
| 120 CANCEL: 2 | 120 CANCEL: 2 |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 /** | 123 /** |
| 124 * ImageBuffer.Overlay is a pluggable extension that modifies the outlook | 124 * ImageBuffer.Overlay is a pluggable extension that modifies the outlook |
| 125 * and the behavior of the ImageBuffer instance. | 125 * and the behavior of the ImageBuffer instance. |
| 126 * @class | 126 * @constructor |
| 127 * @struct |
| 127 */ | 128 */ |
| 128 ImageBuffer.Overlay = function() {}; | 129 ImageBuffer.Overlay = function() {}; |
| 129 | 130 |
| 130 /** | 131 /** |
| 131 * TODO(JSDOC). | 132 * TODO(JSDOC). |
| 132 * @return {number} // TODO(JSDOC). | 133 * @return {number} // TODO(JSDOC). |
| 133 */ | 134 */ |
| 134 ImageBuffer.Overlay.prototype.getZIndex = function() { return 0; }; | 135 ImageBuffer.Overlay.prototype.getZIndex = function() { return 0; }; |
| 135 | 136 |
| 136 /** | 137 /** |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 174 |
| 174 /** | 175 /** |
| 175 * TODO(JSDOC). | 176 * TODO(JSDOC). |
| 176 * @param {number} x // TODO(JSDOC). | 177 * @param {number} x // TODO(JSDOC). |
| 177 * @param {number} y // TODO(JSDOC). | 178 * @param {number} y // TODO(JSDOC). |
| 178 * @return {ImageBuffer.DoubleTapAction} // TODO(JSDOC). | 179 * @return {ImageBuffer.DoubleTapAction} // TODO(JSDOC). |
| 179 */ | 180 */ |
| 180 ImageBuffer.Overlay.prototype.getDoubleTapAction = function(x, y) { | 181 ImageBuffer.Overlay.prototype.getDoubleTapAction = function(x, y) { |
| 181 return ImageBuffer.DoubleTapAction.NOTHING; | 182 return ImageBuffer.DoubleTapAction.NOTHING; |
| 182 }; | 183 }; |
| OLD | NEW |