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

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

Issue 2669693002: Minimize headless code that refers to aura. (Closed)
Patch Set: Remove GetTopWindowContainingPoint Created 3 years, 10 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/lib/browser/headless_screen.cc ('k') | headless/lib/browser/headless_web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a18a46aa49d224d0f86550acdb744ab6233ab52d..3346c64dca9bd04c460eec1bd37553b7192905f7 100644
--- a/headless/lib/browser/headless_web_contents_impl.h
+++ b/headless/lib/browser/headless_web_contents_impl.h
@@ -15,10 +15,6 @@
#include "headless/public/headless_devtools_target.h"
#include "headless/public/headless_web_contents.h"
-namespace aura {
-class Window;
-}
-
namespace content {
class DevToolsAgentHost;
class WebContents;
@@ -42,8 +38,7 @@ class HeadlessWebContentsImpl : public HeadlessWebContents,
static HeadlessWebContentsImpl* From(HeadlessWebContents* web_contents);
static std::unique_ptr<HeadlessWebContentsImpl> Create(
- HeadlessWebContents::Builder* builder,
- aura::Window* parent_window);
+ HeadlessWebContents::Builder* builder);
// Takes ownership of |web_contents|.
static std::unique_ptr<HeadlessWebContentsImpl> CreateFromWebContents(
@@ -85,8 +80,7 @@ class HeadlessWebContentsImpl : public HeadlessWebContents,
HeadlessWebContentsImpl(content::WebContents* web_contents,
HeadlessBrowserContextImpl* browser_context);
- void InitializeScreen(aura::Window* parent_window,
- const gfx::Size& initial_size);
+ void InitializeScreen(const gfx::Size& initial_size);
using MojoService = HeadlessWebContents::Builder::MojoService;
« no previous file with comments | « headless/lib/browser/headless_screen.cc ('k') | headless/lib/browser/headless_web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698