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

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

Issue 2374063002: Headless: expose WebPreferences to embedder, add --hide-scrollbars. (Closed)
Patch Set: Address comments, add test. Created 4 years, 3 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_switches.cc ('k') | headless/lib/browser/headless_browser_context_impl.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_impl.h
diff --git a/headless/lib/browser/headless_browser_context_impl.h b/headless/lib/browser/headless_browser_context_impl.h
index 7f8d3bb762abec4a0db102edfb30254feca67950..8d39dfcb44b2a935716be11cf8a9dcc413cdf020 100644
--- a/headless/lib/browser/headless_browser_context_impl.h
+++ b/headless/lib/browser/headless_browser_context_impl.h
@@ -31,6 +31,8 @@ class HeadlessBrowserContextImpl : public HeadlessBrowserContext,
static HeadlessBrowserContextImpl* From(
HeadlessBrowserContext* browser_context);
+ static HeadlessBrowserContextImpl* From(
+ content::BrowserContext* browser_context);
static std::unique_ptr<HeadlessBrowserContextImpl> Create(
HeadlessBrowserContext::Builder* builder);
« no previous file with comments | « headless/app/headless_shell_switches.cc ('k') | headless/lib/browser/headless_browser_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698