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

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

Issue 2792883002: Revert of [headless] Use individual aura::WindowTreeHosts per WebContents. (Closed)
Patch Set: Created 3 years, 9 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 10fba499458a1a48267d7dbb83f89961d0f0708e..c966fca3601dbe6ac1d5bc3525b093f04931094d 100644
--- a/headless/lib/browser/headless_web_contents_impl.h
+++ b/headless/lib/browser/headless_web_contents_impl.h
@@ -12,7 +12,6 @@
#include "content/public/browser/render_process_host_observer.h"
#include "content/public/browser/web_contents_observer.h"
-#include "headless/lib/browser/headless_window_tree_host.h"
#include "headless/public/headless_devtools_target.h"
#include "headless/public/headless_export.h"
#include "headless/public/headless_web_contents.h"
@@ -79,13 +78,6 @@
HeadlessBrowserImpl* browser() const;
HeadlessBrowserContextImpl* browser_context() const;
- void set_window_tree_host(std::unique_ptr<HeadlessWindowTreeHost> host) {
- window_tree_host_ = std::move(host);
- }
- HeadlessWindowTreeHost* window_tree_host() const {
- return window_tree_host_.get();
- }
-
private:
// Takes ownership of |web_contents|.
HeadlessWebContentsImpl(content::WebContents* web_contents,
@@ -97,7 +89,6 @@
class Delegate;
std::unique_ptr<Delegate> web_contents_delegate_;
- std::unique_ptr<HeadlessWindowTreeHost> window_tree_host_;
std::unique_ptr<content::WebContents> web_contents_;
scoped_refptr<content::DevToolsAgentHost> agent_host_;
std::list<MojoService> mojo_services_;
« no previous file with comments | « headless/lib/browser/headless_browser_impl_mac.mm ('k') | headless/lib/browser/headless_web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698