1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Constants for the event names sent to extensions. 6 7 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ 8 #define CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ 9 10 namespace extensions { 11 12 namespace event_names { 13 14 // FileBrowser. 15 extern const char kOnDirectoryChanged[]; 16 extern const char kOnFileBrowserMountCompleted[]; 17 extern const char kOnFileTransfersUpdated[]; 18 extern const char kOnFileBrowserPreferencesChanged[]; 19 extern const char kOnFileBrowserDriveConnectionStatusChanged[]; 20 extern const char kOnFileBrowserCopyProgress[]; 21 22 // InputMethod. 23 extern const char kOnInputMethodChanged[]; 24 25 // Context menus. 26 extern const char kOnContextMenus[]; 27 28 // Bluetooth. 29 extern const char kBluetoothOnDeviceDiscovered[]; 30 extern const char kBluetoothOnDeviceSearchFinished[]; 31 extern const char kBluetoothOnDeviceSearchResult[]; 32 33 // Notifications. 34 extern const char kOnNotificationError[]; 35 36 } // namespace event_names 37 38 } // namespace extensions 39 40 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ 41