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

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

Issue 2702403008: Compile more Gallery targets in gyp v2. (Closed)
Patch Set: . Created 3 years, 10 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/gallery_constants.js
diff --git a/ui/file_manager/gallery/js/gallery_constants.js b/ui/file_manager/gallery/js/gallery_constants.js
new file mode 100644
index 0000000000000000000000000000000000000000..b2f06090ae198f9b2724825d5595c3b200beae55
--- /dev/null
+++ b/ui/file_manager/gallery/js/gallery_constants.js
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * Modes in Gallery.
+ * @enum {string}
+ */
+var GalleryMode = {
+ SLIDE: 'slide',
+ THUMBNAIL: 'thumbnail'
+};
+
+/**
+ * Sub modes in Gallery.
+ * @enum {string}
+ * TODO(yawano): Remove sub modes by extracting them as modes.
+ */
+var GallerySubMode = {
+ BROWSE: 'browse',
+ EDIT: 'edit',
+ SLIDESHOW: 'slideshow'
+};

Powered by Google App Engine
This is Rietveld 408576698