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

Side by Side Diff: ui/file_manager/gallery/js/image_editor/image_buffer.js

Issue 382143004: Remove repaint callbacks from Viewport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/image_editor/image_editor.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/image_editor/image_editor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698