summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 23:21:09 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 23:21:09 +0000
commite30ecf719e306c7d6c85784da1eb78e38127995a (patch)
tree38daf2ebe16fd4b9dda98be6c5430ef2ec674d3e /ui/aura/root_window.cc
parent6cff06f3fcca5fe19cac06820a7b8a17cbc88179 (diff)
downloadchromium_src-e30ecf719e306c7d6c85784da1eb78e38127995a.zip
chromium_src-e30ecf719e306c7d6c85784da1eb78e38127995a.tar.gz
chromium_src-e30ecf719e306c7d6c85784da1eb78e38127995a.tar.bz2
Revert 230981 "Make TRANSPARENT windows be layered windows on wi..."
> Make TRANSPARENT windows be layered windows on win aura > > This builds on jbauman's patch to plumb use_software_compositor > from here: https://codereview.chromium.org/23621054/ > > The motivation here is that we currently have very different > event, focus, activation paths on DWM vs. classic because of the > differences between when we use top-level windows and when we > don't. With this change, all translucent (i.e. shaped) windows > are converted to being top level (always), and are rendered by > the software compositor and are converted to layered windows for > rendering. > > BUG=293218 and many other focus/activation bugs > > Review URL: https://codereview.chromium.org/26888006 BUG=312277,313349,313462 TBR=scottmg@chromium.org,cpu@chromium.org,ananta@chromium.org Review URL: https://codereview.chromium.org/56623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window.cc')
-rw-r--r--ui/aura/root_window.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index ee59f1b..53b8829 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -132,8 +132,8 @@ class SimpleRootWindowTransformer : public RootWindowTransformer {
RootWindow::CreateParams::CreateParams(const gfx::Rect& a_initial_bounds)
: initial_bounds(a_initial_bounds),
- use_software_renderer(false),
- host(NULL) {}
+ host(NULL) {
+}
////////////////////////////////////////////////////////////////////////////////
// RootWindow, public:
@@ -153,8 +153,7 @@ RootWindow::RootWindow(const CreateParams& params)
set_dispatcher(this);
SetName("RootWindow");
- compositor_.reset(new ui::Compositor(params.use_software_renderer,
- host_->GetAcceleratedWidget()));
+ compositor_.reset(new ui::Compositor(host_->GetAcceleratedWidget()));
DCHECK(compositor_.get());
prop_.reset(new ui::ViewProp(host_->GetAcceleratedWidget(),