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

Unified Diff: ui/file_manager/gallery/js/slide_mode.js

Issue 2299493002: Add an ability for resize in gallery. (Closed)
Patch Set: Make a change in GalleryJsTest.SlideModeTest Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/gallery/js/slide_mode.js
diff --git a/ui/file_manager/gallery/js/slide_mode.js b/ui/file_manager/gallery/js/slide_mode.js
index 12113f635641c9e39be3f9e30483dde34930e58e..e74908f0cc13985f58b32b5c6e77d31e206f0ab2 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -474,6 +474,7 @@ function SlideMode(container, content, topToolbar, bottomToolbar, prompt,
SlideMode.EDITOR_MODES = [
new ImageEditor.Mode.InstantAutofix(),
new ImageEditor.Mode.Crop(),
+ new ImageEditor.Mode.Resize(),
new ImageEditor.Mode.Exposure(),
new ImageEditor.Mode.OneClick(
'rotate_left', 'GALLERY_ROTATE_LEFT', new Command.Rotate(-1)),
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_resize.js ('k') | ui/file_manager/gallery/js/slide_mode_unittest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698