blob: 67b3dd29b3b07915f221c86a4ef12046eb4ca762 [file] [log] [blame]
[email protected]eed367e2011-04-12 03:43:311// Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]f93914852009-05-26 06:05:402// 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]32b76ef2010-07-26 23:08:249#pragma once
[email protected]f93914852009-05-26 06:05:4010
11namespace extension_event_names {
12
[email protected]7596ce72010-08-30 05:10:4613// Tabs.
[email protected]8c3495c2011-09-28 03:32:3014extern const char kOnTabActiveChanged[];
[email protected]f93914852009-05-26 06:05:4015extern const char kOnTabAttached[];
16extern const char kOnTabCreated[];
17extern const char kOnTabDetached[];
[email protected]8c3495c2011-09-28 03:32:3018extern const char kOnTabHighlightChanged[];
[email protected]f93914852009-05-26 06:05:4019extern const char kOnTabMoved[];
20extern const char kOnTabRemoved[];
21extern const char kOnTabSelectionChanged[];
22extern const char kOnTabUpdated[];
[email protected]7596ce72010-08-30 05:10:4623
24// Windows.
[email protected]f93914852009-05-26 06:05:4025extern const char kOnWindowCreated[];
26extern const char kOnWindowFocusedChanged[];
27extern const char kOnWindowRemoved[];
28
[email protected]7596ce72010-08-30 05:10:4629// Management.
30extern const char kOnExtensionInstalled[];
31extern const char kOnExtensionUninstalled[];
32extern const char kOnExtensionEnabled[];
33extern const char kOnExtensionDisabled[];
34
[email protected]eed367e2011-04-12 03:43:3135// FileBrowser.
36extern const char kOnFileBrowserDiskChanged[];
[email protected]a6d06642011-06-02 05:55:2337extern const char kOnFileChanged[];
[email protected]928ae8852011-07-26 01:15:0338extern const char kOnFileBrowserMountCompleted[];
[email protected]7596ce72010-08-30 05:10:4639
[email protected]be5bd5742011-07-14 07:21:0140// InputMethod.
41extern const char kOnInputMethodChanged[];
42
[email protected]370e9502011-09-14 19:31:4443// Downloads.
44extern const char kOnDownloadCreated[];
45extern const char kOnDownloadChanged[];
46extern const char kOnDownloadErased[];
47
[email protected]f93914852009-05-26 06:05:4048}; // namespace extension_event_names
49
50#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_