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

Side by Side Diff: chrome/common/extensions/api/file_browser_private.idl

Issue 299443009: Add keyboard shortcuts in Files.app to open inspector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use commands for shortcuts and run update_extension_functions.py. Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // fileBrowserPrivate API. 5 // fileBrowserPrivate API.
6 // This is a private API used by the file browser of ChromeOS. 6 // This is a private API used by the file browser of ChromeOS.
7 [platforms=("chromeos"), 7 [platforms=("chromeos"),
8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr ivate_api_functions.h"] 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr ivate_api_functions.h"]
9 namespace fileBrowserPrivate { 9 namespace fileBrowserPrivate {
10 // Type of the mounted volume. 10 // Type of the mounted volume.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Specifies type of event that is raised. 75 // Specifies type of event that is raised.
76 enum FileWatchEventType { changed, error }; 76 enum FileWatchEventType { changed, error };
77 77
78 // The type of entry that is needed. Default to ALL. 78 // The type of entry that is needed. Default to ALL.
79 enum SearchType { EXCLUDE_DIRECTORIES, SHARED_WITH_ME, OFFLINE, ALL }; 79 enum SearchType { EXCLUDE_DIRECTORIES, SHARED_WITH_ME, OFFLINE, ALL };
80 80
81 // Zooming mode. 81 // Zooming mode.
82 enum ZoomOperationType { in, out, reset }; 82 enum ZoomOperationType { in, out, reset };
83 83
84 // Specifies how to open inspector.
85 enum InspectionType { normal, console, element, background };
86
84 // Device event type. 87 // Device event type.
85 enum DeviceEventType { 88 enum DeviceEventType {
86 // Device is added. 89 // Device is added.
87 added, 90 added,
88 // If the device is disabled by preference, the disabled event is published 91 // If the device is disabled by preference, the disabled event is published
89 // instead of the added event. 92 // instead of the added event.
90 disabled, 93 disabled,
91 // Device is added, but scan for the device is canceled. The event is 94 // Device is added, but scan for the device is canceled. The event is
92 // published after the added event. 95 // published after the added event.
93 scan_canceled, 96 scan_canceled,
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 // |callback| 757 // |callback|
755 static void installWebstoreItem(DOMString item_id, 758 static void installWebstoreItem(DOMString item_id,
756 SimpleCallback callback); 759 SimpleCallback callback);
757 760
758 // Obtains a list of profiles that are logged-in. 761 // Obtains a list of profiles that are logged-in.
759 static void getProfiles(GetProfilesCallback callback); 762 static void getProfiles(GetProfilesCallback callback);
760 763
761 // Moves the window to other user's desktop. 764 // Moves the window to other user's desktop.
762 static void visitDesktop(DOMString profileId, 765 static void visitDesktop(DOMString profileId,
763 optional SimpleCallback callback); 766 optional SimpleCallback callback);
767
768 // Open inspector window.
769 static void openInspector(InspectionType type);
764 }; 770 };
765 771
766 interface Events { 772 interface Events {
767 static void onMountCompleted(MountCompletedEvent event); 773 static void onMountCompleted(MountCompletedEvent event);
768 774
769 static void onFileTransfersUpdated(FileTransferStatus[] event); 775 static void onFileTransfersUpdated(FileTransferStatus[] event);
770 776
771 static void onCopyProgress(long copyId, CopyProgressStatus status); 777 static void onCopyProgress(long copyId, CopyProgressStatus status);
772 778
773 static void onDirectoryChanged(FileWatchEvent event); 779 static void onDirectoryChanged(FileWatchEvent event);
774 780
775 static void onPreferencesChanged(); 781 static void onPreferencesChanged();
776 782
777 static void onDriveConnectionStatusChanged(); 783 static void onDriveConnectionStatusChanged();
778 784
779 static void onDeviceChanged(DeviceEvent event); 785 static void onDeviceChanged(DeviceEvent event);
780 786
781 static void onDriveSyncError(DriveSyncErrorEvent event); 787 static void onDriveSyncError(DriveSyncErrorEvent event);
782 788
783 // Dispatched when a profile is added. 789 // Dispatched when a profile is added.
784 static void onProfileAdded(); 790 static void onProfileAdded();
785 791
786 // Dispatched when any window moves another desktop. 792 // Dispatched when any window moves another desktop.
787 // TODO(hirono): Add information which window is moved. 793 // TODO(hirono): Add information which window is moved.
788 static void onDesktopChanged(); 794 static void onDesktopChanged();
789 }; 795 };
790 }; 796 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698