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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_constants.cc

Issue 344433003: Prepare declarativeContent API for new script injection feature. Added Javascript types and functio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement fixes from comments and add unit tests Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/declarative_content/content_constants.cc
diff --git a/chrome/browser/extensions/api/declarative_content/content_constants.cc b/chrome/browser/extensions/api/declarative_content/content_constants.cc
index dda4f93bcbb323dacd06f0573c21ca4d490cbf64..fe776a06b1c5d942260a4a34f69d658275aeca00 100644
--- a/chrome/browser/extensions/api/declarative_content/content_constants.cc
+++ b/chrome/browser/extensions/api/declarative_content/content_constants.cc
@@ -11,13 +11,17 @@ namespace declarative_content_constants {
const char kOnPageChanged[] = "declarativeContent.onPageChanged";
// Keys of dictionaries.
+const char kAllFrames[] = "allFrames";
const char kCss[] = "css";
const char kInstanceType[] = "instanceType";
+const char kJs[] = "js";
+const char kMatchAboutBlank[] = "matchAboutBlank";
const char kPageUrl[] = "pageUrl";
// Values of dictionaries, in particular instance types
const char kPageStateMatcherType[] = "declarativeContent.PageStateMatcher";
const char kShowPageAction[] = "declarativeContent.ShowPageAction";
+const char kRequestContentScript[] = "declarativeContent.RequestContentScript";
} // namespace declarative_content_constants
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698