OLD | NEW |
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 #include "chrome/browser/extensions/api/declarative_content/content_constants.h" | 5 #include "chrome/browser/extensions/api/declarative_content/content_constants.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 namespace declarative_content_constants { | 8 namespace declarative_content_constants { |
9 | 9 |
10 // Signals to which ContentRulesRegistries are registered. | 10 // Signals to which ContentRulesRegistries are registered. |
11 const char kOnPageChanged[] = "declarativeContent.onPageChanged"; | 11 const char kOnPageChanged[] = "declarativeContent.onPageChanged"; |
| 12 const char kOnDocumentStart[] = "declarativeContent.onDocumentStart"; |
| 13 const char kOnDocumentEnd[] = "declarativeContent.onDocumentEnd"; |
| 14 const char kOnDocumentIdle[] = "declarativeContent.onDocumentIdle"; |
12 | 15 |
13 // Keys of dictionaries. | 16 // Keys of dictionaries. |
14 const char kCss[] = "css"; | 17 const char kCss[] = "css"; |
15 const char kInstanceType[] = "instanceType"; | 18 const char kInstanceType[] = "instanceType"; |
16 const char kPageUrl[] = "pageUrl"; | 19 const char kPageUrl[] = "pageUrl"; |
17 | 20 |
18 // Values of dictionaries, in particular instance types | 21 // Values of dictionaries, in particular instance types |
19 const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher"; | 22 const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher"; |
20 const char kShowPageAction[] = "declarativeContent.ShowPageAction"; | 23 const char kShowPageAction[] = "declarativeContent.ShowPageAction"; |
| 24 const char kRequestContentScript[] = "declarativeContent.RequestContentScript"; |
21 | 25 |
22 } // namespace declarative_content_constants | 26 } // namespace declarative_content_constants |
23 } // namespace extensions | 27 } // namespace extensions |
OLD | NEW |