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

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

Issue 2896763002: Implement window management devtools commands for headless. (Closed)
Patch Set: nit Created 3 years, 7 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: headless/lib/browser/headless_web_contents_impl.h
diff --git a/headless/lib/browser/headless_web_contents_impl.h b/headless/lib/browser/headless_web_contents_impl.h
index 93edc99d60de7d77285d06627ac7450f56c3ff65..dd6593aa570d21358ebfd5941f7c1433c133ed69 100644
--- a/headless/lib/browser/headless_web_contents_impl.h
+++ b/headless/lib/browser/headless_web_contents_impl.h
@@ -106,7 +106,8 @@ class HEADLESS_EXPORT HeadlessWebContentsImpl
HeadlessWebContentsImpl(content::WebContents* web_contents,
HeadlessBrowserContextImpl* browser_context);
- void InitializeScreen(const gfx::Size& initial_size);
+ void InitializeScreen(const gfx::Size& initial_window_size,
+ const gfx::Size& screen_size);
using MojoService = HeadlessWebContents::Builder::MojoService;
class Delegate;

Powered by Google App Engine
This is Rietveld 408576698