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 #include "extensions/common/api/declarative/declarative_constants.h" 6 7 namespace extensions { 8 namespace declarative_content_constants { 9 10 // Signals to which ContentRulesRegistries are registered. 11 const char kOnPageChanged[] = "declarativeContent.onPageChanged"; 12 13 // Keys of dictionaries. 14 const char kAllFrames[] = "allFrames"; 15 const char kCss[] = "css"; 16 const char kInstanceType[] = "instanceType"; 17 const char kIsBookmarked[] = "isBookmarked"; 18 const char kJs[] = "js"; 19 const char kMatchAboutBlank[] = "matchAboutBlank"; 20 const char kPageUrl[] = "pageUrl"; 21 22 // Values of dictionaries, in particular instance types 23 const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher"; 24 const char kShowAction[] = "declarativeContent.ShowAction"; 25 const char kRequestContentScript[] = "declarativeContent.RequestContentScript"; 26 const char kSetIcon[] = "declarativeContent.SetIcon"; 27 28 const char kLegacyShowAction[] = "declarativeContent.ShowPageAction"; 29 30 } // namespace declarative_content_constants 31 } // namespace extensions 32