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

Unified Diff: headless/lib/browser/headless_window_tree_host.cc

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
« no previous file with comments | « headless/lib/browser/headless_window_tree_host.h ('k') | headless/lib/headless_web_contents_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_window_tree_host.cc
diff --git a/headless/lib/browser/headless_window_tree_host.cc b/headless/lib/browser/headless_window_tree_host.cc
index 6b59e30d47d93053d3da4b7572c0c6b7f5151a83..5cae74e7d48a2cf1e5d37efe3b82211db4444035 100644
--- a/headless/lib/browser/headless_window_tree_host.cc
+++ b/headless/lib/browser/headless_window_tree_host.cc
@@ -3,10 +3,8 @@
// found in the LICENSE file.
#include "headless/lib/browser/headless_window_tree_host.h"
+#include "ui/aura/window.h"
-#include "headless/lib/browser/headless_focus_client.h"
-#include "headless/lib/browser/headless_window_parenting_client.h"
-#include "ui/aura/window.h"
#include "ui/gfx/icc_profile.h"
namespace headless {
@@ -15,9 +13,6 @@
: bounds_(bounds) {
CreateCompositor();
OnAcceleratedWidgetAvailable();
-
- focus_client_.reset(new HeadlessFocusClient());
- aura::client::SetFocusClient(window(), focus_client_.get());
}
HeadlessWindowTreeHost::~HeadlessWindowTreeHost() {
« no previous file with comments | « headless/lib/browser/headless_window_tree_host.h ('k') | headless/lib/headless_web_contents_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698