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

Side by Side Diff: chrome/browser/resources/gallery/js/slide_mode.js

Issue 246543002: Add script files of the separated Gallery.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply recent changes for the Gallery to the separated one. Created 6 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 * Slide mode displays a single image and has a set of controls to navigate 8 * Slide mode displays a single image and has a set of controls to navigate
9 * between the images and to edit an image. 9 * between the images and to edit an image.
10 * 10 *
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 done = true; 1335 done = true;
1336 } 1336 }
1337 }.bind(this); 1337 }.bind(this);
1338 }; 1338 };
1339 1339
1340 /** 1340 /**
1341 * If the user touched the image and moved the finger more than SWIPE_THRESHOLD 1341 * If the user touched the image and moved the finger more than SWIPE_THRESHOLD
1342 * horizontally it's considered as a swipe gesture (change the current image). 1342 * horizontally it's considered as a swipe gesture (change the current image).
1343 */ 1343 */
1344 SwipeOverlay.SWIPE_THRESHOLD = 100; 1344 SwipeOverlay.SWIPE_THRESHOLD = 100;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698