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

Unified Diff: ash/wm/maximize_mode/workspace_backdrop_delegate.cc

Issue 297503003: Revert: [Refactor] Consolidate the logic for whether a widget can be activated. This is a first ste (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « ash/wm/gestures/long_press_affordance_handler.cc ('k') | ash/wm/overview/scoped_window_copy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/workspace_backdrop_delegate.cc
diff --git a/ash/wm/maximize_mode/workspace_backdrop_delegate.cc b/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
index afa70052550bf39543cbde107be116f459bb5aa3..84a730d33489eb29544d0a427fbd4168c9282ba5 100644
--- a/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
+++ b/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
@@ -35,7 +35,7 @@ WorkspaceBackdropDelegate::WorkspaceBackdropDelegate(aura::Window* container)
params.layer_type = aura::WINDOW_LAYER_SOLID_COLOR;
// To disallow the MRU list from picking this window up it should not be
// activateable.
- params.activatable = views::Widget::InitParams::ACTIVATABLE_NO;
+ params.can_activate = false;
background_->Init(params);
// Do not use the animation system. We don't want the bounds animation and
// opacity needs to get set to |kBackdropOpacity|.
« no previous file with comments | « ash/wm/gestures/long_press_affordance_handler.cc ('k') | ash/wm/overview/scoped_window_copy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698