Home | History | Annotate | Download | only in extensions
      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 #include "chrome/browser/extensions/event_names.h"
      6 
      7 namespace extensions {
      8 
      9 namespace event_names {
     10 
     11 const char kOnTabActivated[] = "tabs.onActivated";
     12 const char kOnTabActiveChanged[] = "tabs.onActiveChanged";
     13 const char kOnTabAttached[] = "tabs.onAttached";
     14 const char kOnTabCreated[] = "tabs.onCreated";
     15 const char kOnTabDetached[] = "tabs.onDetached";
     16 const char kOnTabHighlightChanged[] = "tabs.onHighlightChanged";
     17 const char kOnTabHighlighted[] = "tabs.onHighlighted";
     18 const char kOnTabMoved[] = "tabs.onMoved";
     19 const char kOnTabRemoved[] = "tabs.onRemoved";
     20 const char kOnTabReplaced[] = "tabs.onReplaced";
     21 const char kOnTabSelectionChanged[] = "tabs.onSelectionChanged";
     22 const char kOnTabUpdated[] = "tabs.onUpdated";
     23 
     24 const char kOnWindowCreated[] = "windows.onCreated";
     25 const char kOnWindowFocusedChanged[] = "windows.onFocusChanged";
     26 const char kOnWindowRemoved[] = "windows.onRemoved";
     27 
     28 const char kOnExtensionInstalled[] = "management.onInstalled";
     29 const char kOnExtensionUninstalled[] = "management.onUninstalled";
     30 const char kOnExtensionEnabled[] = "management.onEnabled";
     31 const char kOnExtensionDisabled[] = "management.onDisabled";
     32 
     33 const char kOnDirectoryChanged[] = "fileBrowserPrivate.onDirectoryChanged";
     34 const char kOnFileBrowserMountCompleted[] =
     35     "fileBrowserPrivate.onMountCompleted";
     36 const char kOnFileTransfersUpdated[] =
     37     "fileBrowserPrivate.onFileTransfersUpdated";
     38 const char kOnFileBrowserPreferencesChanged[] =
     39     "fileBrowserPrivate.onPreferencesChanged";
     40 const char kOnFileBrowserDriveConnectionStatusChanged[] =
     41     "fileBrowserPrivate.onDriveConnectionStatusChanged";
     42 
     43 const char kOnInputMethodChanged[] = "inputMethodPrivate.onChanged";
     44 
     45 const char kOnContextMenus[] = "contextMenus";
     46 const char kOnContextMenuClicked[] = "contextMenus.onClicked";
     47 
     48 const char kOnDialDeviceList[] = "dial.onDeviceList";
     49 const char kOnDialError[] = "dial.onError";
     50 
     51 const char kOnDownloadCreated[] = "downloads.onCreated";
     52 const char kOnDownloadChanged[] = "downloads.onChanged";
     53 const char kOnDownloadErased[] = "downloads.onErased";
     54 const char kOnDownloadDeterminingFilename[] = "downloads.onDeterminingFilename";
     55 
     56 const char kOnSettingsChanged[] = "storage.onChanged";
     57 
     58 const char kOnTerminalProcessOutput[] = "terminalPrivate.onProcessOutput";
     59 
     60 const char kOnOffscreenTabUpdated[] = "experimental.offscreenTabs.onUpdated";
     61 
     62 const char kOnTabCaptureStatusChanged[] = "tabCapture.onStatusChanged";
     63 
     64 const char kBluetoothOnAdapterStateChanged[] =
     65     "bluetooth.onAdapterStateChanged";
     66 const char kBluetoothOnConnection[] = "bluetooth.onConnection";
     67 const char kBluetoothOnDeviceDiscovered[] = "bluetooth.onDeviceDiscovered";
     68 const char kBluetoothOnDeviceSearchFinished[] =
     69     "bluetooth.onDeviceSearchFinished";
     70 const char kBluetoothOnDeviceSearchResult[] = "bluetooth.onDeviceSearchResult";
     71 
     72 const char kOnPushMessage[] = "pushMessaging.onMessage";
     73 
     74 const char kOnDisplayChanged[] = "system.display.onDisplayChanged";
     75 const char kOnStorageAvailableCapacityChanged[] =
     76     "system.storage.onAvailableCapacityChanged";
     77 const char kOnStorageAttached[] = "system.storage.onAttached";
     78 const char kOnStorageDetached[] = "system.storage.onDetached";
     79 
     80 const char kOnSystemIndicatorClicked[] = "systemIndicator.onClicked";
     81 
     82 const char kOnServiceStatusChanged[] = "syncFileSystem.onServiceStatusChanged";
     83 const char kOnFileStatusChanged[] = "syncFileSystem.onFileStatusChanged";
     84 
     85 const char kOnAttachEventName[] = "mediaGalleriesPrivate.onDeviceAttached";
     86 const char kOnDetachEventName[] = "mediaGalleriesPrivate.onDeviceDetached";
     87 const char kOnGalleryChangedEventName[] =
     88     "mediaGalleriesPrivate.onGalleryChanged";
     89 
     90 const char kOnNotificationDisplayed[] = "notifications.onDisplayed";
     91 const char kOnNotificationError[] = "notifications.onError";
     92 const char kOnNotificationClosed[] = "notifications.onClosed";
     93 const char kOnNotificationClicked[] = "notifications.onClicked";
     94 const char kOnNotificationButtonClicked[] = "notifications.onButtonClicked";
     95 
     96 const char kOnNetworksChanged[] = "networkingPrivate.onNetworksChanged";
     97 const char kOnNetworkListChanged[] = "networkingPrivate.onNetworkListChanged";
     98 
     99 const char kOnAudioDeviceChanged[] = "audio.onDeviceChanged";
    100 
    101 const char kOnLaunched[] = "app.runtime.onLaunched";
    102 const char kOnRestarted[] = "app.runtime.onRestarted";
    103 
    104 const char kOnFeedbackRequested[] = "feedbackPrivate.onFeedbackRequested";
    105 
    106 const char kDeveloperPrivateOnItemStateChanged[] =
    107     "developerPrivate.onItemStateChanged";
    108 
    109 const char kRecoveryOnWriteProgress[] = "recoveryPrivate.onWriteProgress";
    110 const char kRecoveryOnWriteComplete[] = "recoveryPrivate.onWriteComplete";
    111 const char kRecoveryOnWriteError[] = "recoveryPrivate.onWriteError";
    112 
    113 }  // namespace event_names
    114 
    115 }  // namespace extensions
    116