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

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

Issue 2237903003: mash: Migrate Shelf aura::Window uses to WmWindow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move shelf notify functions to WmShell. Created 4 years, 4 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
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 b043ce87088b488936d2b4d321e8152b59e9bf35..f0a5d783399c220c6de36d4e012bc526fe069681 100644
--- a/chrome/browser/chromeos/accessibility/chromevox_panel.cc
+++ b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/accessibility_types.h"
#include "ash/common/shell_window_ids.h"
#include "ash/root_window_controller.h"
@@ -115,7 +116,8 @@ void ChromeVoxPanel::DidFirstVisuallyNonEmptyPaint() {
}
void ChromeVoxPanel::UpdatePanelHeight() {
- ash::Shelf* shelf = ash::Shelf::ForWindow(GetRootWindow());
+ ash::Shelf* shelf =
+ ash::Shelf::ForWindow(ash::WmWindowAura::Get(GetRootWindow()));
if (!shelf)
return;

Powered by Google App Engine
This is Rietveld 408576698