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