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

Unified Diff: headless/lib/browser/headless_browser_context_options.h

Issue 2642143002: [headless] Make --hide-scrollbars affect all BrowserContexts. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « headless/app/headless_shell.cc ('k') | headless/lib/browser/headless_browser_context_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_browser_context_options.h
diff --git a/headless/lib/browser/headless_browser_context_options.h b/headless/lib/browser/headless_browser_context_options.h
index 4c6601757f4d25c6fa90cf2fc29b9419d58a935c..b0e3cc871f8f7dd09ab4620b0f4e0ba11b14e956 100644
--- a/headless/lib/browser/headless_browser_context_options.h
+++ b/headless/lib/browser/headless_browser_context_options.h
@@ -66,9 +66,10 @@ class HeadlessBrowserContextOptions {
base::Optional<gfx::Size> window_size_;
base::Optional<base::FilePath> user_data_dir_;
base::Optional<bool> incognito_mode_;
+ base::Optional<base::Callback<void(WebPreferences*)>>
+ override_web_preferences_callback_;
ProtocolHandlerMap protocol_handlers_;
- base::Callback<void(WebPreferences*)> override_web_preferences_callback_;
DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserContextOptions);
};
« no previous file with comments | « headless/app/headless_shell.cc ('k') | headless/lib/browser/headless_browser_context_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698