| 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 // Constants used for the declarativeContent API. | 5 // Constants used for the declarativeContent API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 namespace declarative_content_constants { | 11 namespace declarative_content_constants { |
| 12 | 12 |
| 13 // Signals to which ContentRulesRegistries are registered. | 13 // Signals to which ContentRulesRegistries are registered. |
| 14 extern const char kOnPageChanged[]; | 14 extern const char kOnPageChanged[]; |
| 15 extern const char kOnDocumentStart[]; |
| 16 extern const char kOnDocumentEnd[]; |
| 17 extern const char kOnDocumentIdle[]; |
| 15 | 18 |
| 16 // Keys of dictionaries. | 19 // Keys of dictionaries. |
| 17 extern const char kCss[]; | 20 extern const char kCss[]; |
| 18 extern const char kInstanceType[]; | 21 extern const char kInstanceType[]; |
| 19 extern const char kPageUrl[]; | 22 extern const char kPageUrl[]; |
| 20 | 23 |
| 21 // Values of dictionaries, in particular instance types | 24 // Values of dictionaries, in particular instance types |
| 22 extern const char kPageStateMatcherType[]; | 25 extern const char kPageStateMatcherType[]; |
| 23 extern const char kShowPageAction[]; | 26 extern const char kShowPageAction[]; |
| 27 extern const char kRequestContentScript[]; |
| 24 | 28 |
| 25 } // namespace declarative_content_constants | 29 } // namespace declarative_content_constants |
| 26 } // namespace extensions | 30 } // namespace extensions |
| 27 | 31 |
| 28 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H
_ | 32 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_CONSTANTS_H
_ |
| OLD | NEW |