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

Unified Diff: ash/common/wm/overview/window_selector_item.cc

Issue 2596743002: Replace WM shadow types (on/off) and styles (small/inactive/active) (Closed)
Patch Set: one more mechanical change Created 3 years, 11 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/common/wm/overview/window_grid.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_selector_item.cc
diff --git a/ash/common/wm/overview/window_selector_item.cc b/ash/common/wm/overview/window_selector_item.cc
index f76a37ae1eb84ea73dd5e1bbb262e51a5c7edadd..182beb5676c61017a59a4723d7ddc8d4bc07d723 100644
--- a/ash/common/wm/overview/window_selector_item.cc
+++ b/ash/common/wm/overview/window_selector_item.cc
@@ -44,6 +44,7 @@
#include "ui/views/layout/box_layout.h"
#include "ui/views/window/non_client_view.h"
#include "ui/wm/core/shadow.h"
+#include "ui/wm/core/shadow_types.h"
#include "ui/wm/core/window_util.h"
namespace ash {
@@ -666,7 +667,7 @@ void WindowSelectorItem::CreateWindowLabel(const base::string16& title) {
if (ash::MaterialDesignController::GetMode() ==
ash::MaterialDesignController::Mode::MATERIAL_EXPERIMENTAL) {
shadow_.reset(new ::wm::Shadow());
- shadow_->Init(::wm::Shadow::STYLE_INACTIVE);
+ shadow_->Init(::wm::ShadowElevation::MEDIUM);
shadow_->layer()->SetVisible(true);
window_label_->GetLayer()->Add(shadow_->layer());
}
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698