Gallery.app: always overwrite to original image with undo toast.
commitef13d8891442eb341a8ff34a7b5cd36cd90c9452
authoryawano <yawano@chromium.org>
Wed, 29 Jul 2015 07:07:58 +0000 (29 00:07 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Jul 2015 07:08:32 +0000 (29 07:08 +0000)
treeab06a0295cfae43acd6f272b6538ddd4306c9188
parente8f14a91863c0d71be7c7706dbe1fc11ae5e3441
Gallery.app: always overwrite to original image with undo toast.

In Material Design Gallery, it always tries to overwrite the original
image with undo toast. If the format of original image is not writable
format for Gallery, it shows a toast to let user know that edits are
saved to a copy when user enters edit mode.

BUG=488227, 505646
TEST=none

Review URL: https://codereview.chromium.org/1259243002

Cr-Commit-Position: refs/heads/master@{#340856}
12 files changed:
chrome/app/chromeos_strings.grdp
chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
ui/file_manager/file_manager/manifest.json
ui/file_manager/gallery/css/gallery.css
ui/file_manager/gallery/gallery.html
ui/file_manager/gallery/js/gallery_data_model.js
ui/file_manager/gallery/js/gallery_data_model_unittest.js
ui/file_manager/gallery/js/gallery_item.js
ui/file_manager/gallery/js/gallery_item_unittest.js
ui/file_manager/gallery/js/image_editor/commands.js
ui/file_manager/gallery/js/image_editor/image_editor.js
ui/file_manager/gallery/js/slide_mode.js