OLD | NEW |
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 // fileManagerPrivate API. | 5 // fileManagerPrivate 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_manager_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] |
9 namespace fileManagerPrivate { | 9 namespace fileManagerPrivate { |
10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Open inspector for foreground page and bring focus to the console. | 91 // Open inspector for foreground page and bring focus to the console. |
92 console, | 92 console, |
93 // Open inspector for foreground page in inspect element mode. | 93 // Open inspector for foreground page in inspect element mode. |
94 element, | 94 element, |
95 // Open inspector for background page. | 95 // Open inspector for background page. |
96 background | 96 background |
97 }; | 97 }; |
98 | 98 |
99 // Device event type. | 99 // Device event type. |
100 enum DeviceEventType { | 100 enum DeviceEventType { |
101 // Device scan is started. | |
102 scan_started, | |
103 // Device scan is cancelled. | |
104 scan_cancelled, | |
105 // If the device is disabled by preference. | 101 // If the device is disabled by preference. |
106 disabled, | 102 disabled, |
107 // Device is removed. | 103 // Device is removed. |
108 removed, | 104 removed, |
109 // Device is hard unplugged. | 105 // Device is hard unplugged. |
110 hard_unplugged, | 106 hard_unplugged, |
111 // Format started. | 107 // Format started. |
112 format_start, | 108 format_start, |
113 // Format succeeded. | 109 // Format succeeded. |
114 format_success, | 110 format_success, |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 | 812 |
817 static void onPreferencesChanged(); | 813 static void onPreferencesChanged(); |
818 | 814 |
819 static void onDriveConnectionStatusChanged(); | 815 static void onDriveConnectionStatusChanged(); |
820 | 816 |
821 static void onDeviceChanged(DeviceEvent event); | 817 static void onDeviceChanged(DeviceEvent event); |
822 | 818 |
823 static void onDriveSyncError(DriveSyncErrorEvent event); | 819 static void onDriveSyncError(DriveSyncErrorEvent event); |
824 }; | 820 }; |
825 }; | 821 }; |
OLD | NEW |