| Index: extensions/common/user_script.h
|
| diff --git a/extensions/common/user_script.h b/extensions/common/user_script.h
|
| index 76b64d459a7ad42e0c49b0681012ce70bdf9381b..05974c7fa4db6359e50c30a4e67339da9cc644c9 100644
|
| --- a/extensions/common/user_script.h
|
| +++ b/extensions/common/user_script.h
|
| @@ -137,6 +137,10 @@ class UserScript {
|
| bool match_all_frames() const { return match_all_frames_; }
|
| void set_match_all_frames(bool val) { match_all_frames_ = val; }
|
|
|
| + // Whether to match about:blank and about:srcdoc.
|
| + bool match_about_blank() const { return match_about_blank_; }
|
| + void set_match_about_blank(bool val) { match_about_blank_ = val; }
|
| +
|
| // The globs, if any, that determine which pages this script runs against.
|
| // These are only used with "standalone" Greasemonkey-like user scripts.
|
| const std::vector<std::string>& globs() const { return globs_; }
|
| @@ -249,6 +253,10 @@ class UserScript {
|
| // Defaults to false.
|
| bool match_all_frames_;
|
|
|
| + // Whether the user script should run in about:blank and about:srcdoc as well.
|
| + // Defaults to false.
|
| + bool match_about_blank_;
|
| +
|
| // True if the script should be injected into an incognito tab.
|
| bool incognito_enabled_;
|
| };
|
|
|