Home | History | Annotate | Download | only in extensions
      1 // Copyright (c) 2011 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_EXTENSION_EVENT_NAMES_H_
      8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_
      9 #pragma once
     10 
     11 namespace extension_event_names {
     12 
     13 // Tabs.
     14 extern const char kOnTabAttached[];
     15 extern const char kOnTabCreated[];
     16 extern const char kOnTabDetached[];
     17 extern const char kOnTabMoved[];
     18 extern const char kOnTabRemoved[];
     19 extern const char kOnTabSelectionChanged[];
     20 extern const char kOnTabUpdated[];
     21 
     22 // Windows.
     23 extern const char kOnWindowCreated[];
     24 extern const char kOnWindowFocusedChanged[];
     25 extern const char kOnWindowRemoved[];
     26 
     27 // Management.
     28 extern const char kOnExtensionInstalled[];
     29 extern const char kOnExtensionUninstalled[];
     30 extern const char kOnExtensionEnabled[];
     31 extern const char kOnExtensionDisabled[];
     32 
     33 // FileBrowser.
     34 extern const char kOnFileBrowserDiskChanged[];
     35 
     36 };  // namespace extension_event_names
     37 
     38 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_
     39