Chromium Code Reviews| Index: chrome/browser/extensions/script_executor.h |
| diff --git a/chrome/browser/extensions/script_executor.h b/chrome/browser/extensions/script_executor.h |
| index 03c1f550c30a5161c56c33a54740f6c3dbd193fb..be69bfa1c873e260d0212e80c727f2e20dca9bf4 100644 |
| --- a/chrome/browser/extensions/script_executor.h |
| +++ b/chrome/browser/extensions/script_executor.h |
| @@ -49,6 +49,13 @@ class ScriptExecutor { |
| ALL_FRAMES, |
| }; |
| + // Whether to insert the script in about: frames when its origin matches |
| + // the extension's host permissions. |
| + enum MatchAboutBlank { |
| + MATCH_ABOUT_BLANK, |
| + DONT_MATCH_ABOUT_BLANK, |
|
not at google - send to devlin
2014/04/21 22:34:41
switch the order of these, false should have the 0
robwu
2014/04/21 23:21:46
Done.
|
| + }; |
| + |
| // The type of world to inject into (main world, or its own isolated world). |
| enum WorldType { |
| MAIN_WORLD, |
| @@ -83,6 +90,7 @@ class ScriptExecutor { |
| ScriptType script_type, |
| const std::string& code, |
| FrameScope frame_scope, |
| + MatchAboutBlank match_about_blank, |
| UserScript::RunLocation run_at, |
| WorldType world_type, |
| ProcessType process_type, |