Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Side by Side Diff: chrome/browser/extensions/event_names.h

Issue 11607012: Add tabs.onReplaced event to notify listeners of tabs being swapped due to prerendering or instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some other stuff in tabs.json. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Constants for the event names sent to extensions. 5 // Constants for the event names sent to extensions.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_
8 #define CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ 8 #define CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 namespace event_names { 12 namespace event_names {
13 13
14 // Tabs. 14 // Tabs.
15 extern const char kOnTabActivated[]; 15 extern const char kOnTabActivated[];
16 extern const char kOnTabActiveChanged[]; 16 extern const char kOnTabActiveChanged[];
17 extern const char kOnTabAttached[]; 17 extern const char kOnTabAttached[];
18 extern const char kOnTabCreated[]; 18 extern const char kOnTabCreated[];
19 extern const char kOnTabDetached[]; 19 extern const char kOnTabDetached[];
20 extern const char kOnTabHighlightChanged[]; 20 extern const char kOnTabHighlightChanged[];
21 extern const char kOnTabHighlighted[]; 21 extern const char kOnTabHighlighted[];
22 extern const char kOnTabMoved[]; 22 extern const char kOnTabMoved[];
23 extern const char kOnTabRemoved[]; 23 extern const char kOnTabRemoved[];
24 extern const char kOnTabReplaced[];
24 extern const char kOnTabSelectionChanged[]; 25 extern const char kOnTabSelectionChanged[];
25 extern const char kOnTabUpdated[]; 26 extern const char kOnTabUpdated[];
26 27
27 // Windows. 28 // Windows.
28 extern const char kOnWindowCreated[]; 29 extern const char kOnWindowCreated[];
29 extern const char kOnWindowFocusedChanged[]; 30 extern const char kOnWindowFocusedChanged[];
30 extern const char kOnWindowRemoved[]; 31 extern const char kOnWindowRemoved[];
31 32
32 // Management. 33 // Management.
33 extern const char kOnExtensionInstalled[]; 34 extern const char kOnExtensionInstalled[];
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 extern const char kOnNotificationError[]; 103 extern const char kOnNotificationError[];
103 extern const char kOnNotificationClosed[]; 104 extern const char kOnNotificationClosed[];
104 extern const char kOnNotificationClicked[]; 105 extern const char kOnNotificationClicked[];
105 extern const char kOnNotificationButtonClicked[]; 106 extern const char kOnNotificationButtonClicked[];
106 107
107 } // namespace event_names 108 } // namespace event_names
108 109
109 } // namespace extensions 110 } // namespace extensions
110 111
111 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ 112 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698