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

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

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: Add note about what it means to revert RequestContentScript Created 6 years, 6 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.h
diff --git a/chrome/browser/extensions/api/declarative_content/content_constants.h b/chrome/browser/extensions/api/declarative_content/content_constants.h
index cae250b798b0974f706f62bc86701fa0b9c7876c..13d16c58d8d12b64c73c99c238a4650fcfa008fc 100644
--- a/chrome/browser/extensions/api/declarative_content/content_constants.h
+++ b/chrome/browser/extensions/api/declarative_content/content_constants.h
@@ -12,6 +12,9 @@ namespace declarative_content_constants {
// Signals to which ContentRulesRegistries are registered.
extern const char kOnPageChanged[];
+extern const char kOnDocumentStart[];
+extern const char kOnDocumentEnd[];
+extern const char kOnDocumentIdle[];
// Keys of dictionaries.
extern const char kCss[];
@@ -21,6 +24,7 @@ extern const char kPageUrl[];
// Values of dictionaries, in particular instance types
extern const char kPageStateMatcherType[];
extern const char kShowPageAction[];
+extern const char kRequestContentScript[];
} // namespace declarative_content_constants
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698