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

Side by Side Diff: ui/file_manager/integration_tests/gallery/photo_editor.js

Issue 1174853002: Revert "Gallery: Replace buttons in top toolbar with paper-button and new icons." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
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 * Prepares the photo editor. 8 * Prepares the photo editor.
9 * 9 *
10 * @param {string} testVolumeName Test volume name passed to the addEntries 10 * @param {string} testVolumeName Test volume name passed to the addEntries
(...skipping 12 matching lines...) Expand all
23 23
24 // Show the slide image. 24 // Show the slide image.
25 var slideImagePromise = gallery.waitForSlideImage( 25 var slideImagePromise = gallery.waitForSlideImage(
26 appId, 26 appId,
27 800, 27 800,
28 600, 28 600,
29 'My Desktop Background'); 29 'My Desktop Background');
30 30
31 // Lauch the photo editor. 31 // Lauch the photo editor.
32 var photoEditorPromise = slideImagePromise.then(function() { 32 var photoEditorPromise = slideImagePromise.then(function() {
33 return gallery.waitAndClickElement(appId, '.button.edit'); 33 return gallery.waitAndClickElement(appId, 'button.edit');
34 }); 34 });
35 35
36 return photoEditorPromise.then(function() { 36 return photoEditorPromise.then(function() {
37 return args; 37 return args;
38 }); 38 });
39 }); 39 });
40 } 40 }
41 41
42 /** 42 /**
43 * Tests to rotate an image. 43 * Tests to rotate an image.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 return exposureImage('local', 'downloads'); 223 return exposureImage('local', 'downloads');
224 }; 224 };
225 225
226 /** 226 /**
227 * The exposureImage test for Google Drive. 227 * The exposureImage test for Google Drive.
228 * @return {Promise} Promise to be fulfilled with on success. 228 * @return {Promise} Promise to be fulfilled with on success.
229 */ 229 */
230 testcase.exposureImageOnDrive = function() { 230 testcase.exposureImageOnDrive = function() {
231 return exposureImage('drive', 'drive'); 231 return exposureImage('drive', 'drive');
232 }; 232 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/slide_mode.js ('k') | ui/file_manager/integration_tests/gallery/slide_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698