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

Unified Diff: ui/file_manager/externs/entry_location.js

Issue 2292873003: Divide volume_manager.js into files for each classes and extract interfaces from them. (Closed)
Patch Set: Address comments. 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
« no previous file with comments | « ui/file_manager/externs/background_window_common.js ('k') | ui/file_manager/externs/volume_info_list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/externs/entry_location.js
diff --git a/ui/file_manager/externs/entry_location.js b/ui/file_manager/externs/entry_location.js
new file mode 100644
index 0000000000000000000000000000000000000000..24a1d7d17caeb93dc3f3d53404f655aa89b1e41e
--- /dev/null
+++ b/ui/file_manager/externs/entry_location.js
@@ -0,0 +1,48 @@
+// Copyright 2016 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.
+
+/**
+ * Location information which shows where the path points in FileManager's
+ * file system.
+ * @interface
+ */
+function EntryLocation() {};
+
+/**
+ * Volume information.
+ * @type {!VolumeInfo}
+ */
+EntryLocation.prototype.volumeInfo;
+
+/**
+ * Root type.
+ * @type {VolumeManagerCommon.RootType}
+ */
+EntryLocation.prototype.rootType;
+
+/**
+ * Whether the entry is root entry or not.
+ * @type {boolean}
+ */
+EntryLocation.prototype.isRootEntry;
+
+/**
+ * Whether the location obtained from the fake entry corresponds to special
+ * searches.
+ * @type {boolean}
+ */
+EntryLocation.prototype.isSpecialSearchRoot;
+
+/**
+ * Whether the location is under Google Drive or a special search root which
+ * represents a special search from Google Drive.
+ * @type {boolean}
+ */
+EntryLocation.prototype.isDriveBased;
+
+/**
+ * Whether the entry is read only or not.
+ * @type {boolean}
+ */
+EntryLocation.prototype.isReadOnly;
« no previous file with comments | « ui/file_manager/externs/background_window_common.js ('k') | ui/file_manager/externs/volume_info_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698