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'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * A stack of overlays that display itself and handle mouse events. | 8 * A stack of overlays that display itself and handle mouse events. |
9 * TODO(kaznacheev) Consider disbanding this class and moving | 9 * TODO(kaznacheev) Consider disbanding this class and moving |
10 * the functionality to individual objects that display anything or handle | 10 * the functionality to individual objects that display anything or handle |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 * ImageBuffer.Overlay is a pluggable extension that modifies the outlook | 126 * ImageBuffer.Overlay is a pluggable extension that modifies the outlook |
127 * and the behavior of the ImageBuffer instance. | 127 * and the behavior of the ImageBuffer instance. |
128 * @class | 128 * @class |
129 */ | 129 */ |
130 ImageBuffer.Overlay = function() {}; | 130 ImageBuffer.Overlay = function() {}; |
131 | 131 |
132 /** | 132 /** |
133 * TODO(JSDOC). | 133 * TODO(JSDOC). |
134 * @return {number} // TODO(JSDOC). | 134 * @return {number} // TODO(JSDOC). |
135 */ | 135 */ |
136 ImageBuffer.Overlay.prototype.getZIndex = function() { return 0 }; | 136 ImageBuffer.Overlay.prototype.getZIndex = function() { return 0; }; |
137 | 137 |
138 /** | 138 /** |
139 * TODO(JSDOC). | 139 * TODO(JSDOC). |
140 */ | 140 */ |
141 ImageBuffer.Overlay.prototype.draw = function() {}; | 141 ImageBuffer.Overlay.prototype.draw = function() {}; |
142 | 142 |
143 /** | 143 /** |
144 * TODO(JSDOC). | 144 * TODO(JSDOC). |
145 * @param {number} x X coordinate for cursor. | 145 * @param {number} x X coordinate for cursor. |
146 * @param {number} y Y coordinate for cursor. | 146 * @param {number} y Y coordinate for cursor. |
(...skipping 28 matching lines...) Expand all Loading... |
175 | 175 |
176 /** | 176 /** |
177 * TODO(JSDOC). | 177 * TODO(JSDOC). |
178 * @param {number} x // TODO(JSDOC). | 178 * @param {number} x // TODO(JSDOC). |
179 * @param {number} y // TODO(JSDOC). | 179 * @param {number} y // TODO(JSDOC). |
180 * @return {ImageBuffer.DoubleTapAction} // TODO(JSDOC). | 180 * @return {ImageBuffer.DoubleTapAction} // TODO(JSDOC). |
181 */ | 181 */ |
182 ImageBuffer.Overlay.prototype.getDoubleTapAction = function(x, y) { | 182 ImageBuffer.Overlay.prototype.getDoubleTapAction = function(x, y) { |
183 return ImageBuffer.DoubleTapAction.NOTHING; | 183 return ImageBuffer.DoubleTapAction.NOTHING; |
184 }; | 184 }; |
OLD | NEW |