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

Unified Diff: chrome/browser/chromeos/accessibility/chromevox_panel.cc

Issue 2596743002: Replace WM shadow types (on/off) and styles (small/inactive/active) (Closed)
Patch Set: . Created 4 years 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: chrome/browser/chromeos/accessibility/chromevox_panel.cc
diff --git a/chrome/browser/chromeos/accessibility/chromevox_panel.cc b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
index e3ec9a14f137b158418e368b7ec3ddce5e65902b..ae0a95e3c4a33fc3f867e6963cc312886cd5aad9 100644
--- a/chrome/browser/chromeos/accessibility/chromevox_panel.cc
+++ b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
@@ -96,7 +96,7 @@ ChromeVoxPanel::ChromeVoxPanel(content::BrowserContext* browser_context)
params.bounds = gfx::Rect(0, 0, root_window->bounds().width(),
root_window->bounds().height());
widget_->Init(params);
- SetShadowType(widget_->GetNativeWindow(), wm::SHADOW_TYPE_RECTANGULAR);
+ SetShadowElevation(widget_->GetNativeWindow(), wm::ShadowElevation::MEDIUM);
display::Screen::GetScreen()->AddObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698