[email protected] | eed367e | 2011-04-12 03:43:31 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
[email protected] | f9391485 | 2009-05-26 06:05:40 | [diff] [blame] | 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_ | ||||
[email protected] | 32b76ef | 2010-07-26 23:08:24 | [diff] [blame] | 9 | #pragma once |
[email protected] | f9391485 | 2009-05-26 06:05:40 | [diff] [blame] | 10 | |
11 | namespace extension_event_names { | ||||
12 | |||||
[email protected] | 7596ce7 | 2010-08-30 05:10:46 | [diff] [blame] | 13 | // Tabs. |
[email protected] | 8c3495c | 2011-09-28 03:32:30 | [diff] [blame^] | 14 | extern const char kOnTabActiveChanged[]; |
[email protected] | f9391485 | 2009-05-26 06:05:40 | [diff] [blame] | 15 | extern const char kOnTabAttached[]; |
16 | extern const char kOnTabCreated[]; | ||||
17 | extern const char kOnTabDetached[]; | ||||
[email protected] | 8c3495c | 2011-09-28 03:32:30 | [diff] [blame^] | 18 | extern const char kOnTabHighlightChanged[]; |
[email protected] | f9391485 | 2009-05-26 06:05:40 | [diff] [blame] | 19 | extern const char kOnTabMoved[]; |
20 | extern const char kOnTabRemoved[]; | ||||
21 | extern const char kOnTabSelectionChanged[]; | ||||
22 | extern const char kOnTabUpdated[]; | ||||
[email protected] | 7596ce7 | 2010-08-30 05:10:46 | [diff] [blame] | 23 | |
24 | // Windows. | ||||
[email protected] | f9391485 | 2009-05-26 06:05:40 | [diff] [blame] | 25 | extern const char kOnWindowCreated[]; |
26 | extern const char kOnWindowFocusedChanged[]; | ||||
27 | extern const char kOnWindowRemoved[]; | ||||
28 | |||||
[email protected] | 7596ce7 | 2010-08-30 05:10:46 | [diff] [blame] | 29 | // Management. |
30 | extern const char kOnExtensionInstalled[]; | ||||
31 | extern const char kOnExtensionUninstalled[]; | ||||
32 | extern const char kOnExtensionEnabled[]; | ||||
33 | extern const char kOnExtensionDisabled[]; | ||||
34 | |||||
[email protected] | eed367e | 2011-04-12 03:43:31 | [diff] [blame] | 35 | // FileBrowser. |
36 | extern const char kOnFileBrowserDiskChanged[]; | ||||
[email protected] | a6d0664 | 2011-06-02 05:55:23 | [diff] [blame] | 37 | extern const char kOnFileChanged[]; |
[email protected] | 928ae885 | 2011-07-26 01:15:03 | [diff] [blame] | 38 | extern const char kOnFileBrowserMountCompleted[]; |
[email protected] | 7596ce7 | 2010-08-30 05:10:46 | [diff] [blame] | 39 | |
[email protected] | be5bd574 | 2011-07-14 07:21:01 | [diff] [blame] | 40 | // InputMethod. |
41 | extern const char kOnInputMethodChanged[]; | ||||
42 | |||||
[email protected] | 370e950 | 2011-09-14 19:31:44 | [diff] [blame] | 43 | // Downloads. |
44 | extern const char kOnDownloadCreated[]; | ||||
45 | extern const char kOnDownloadChanged[]; | ||||
46 | extern const char kOnDownloadErased[]; | ||||
47 | |||||
[email protected] | f9391485 | 2009-05-26 06:05:40 | [diff] [blame] | 48 | }; // namespace extension_event_names |
49 | |||||
50 | #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ |