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

Unified Diff: ash/wm/panels/panel_layout_manager_unittest.cc

Issue 2896273004: chromeos: converts PanelLayoutManager to aura::Window (Closed)
Patch Set: feedback Created 3 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/panels/panel_layout_manager.cc ('k') | ash/wm/panels/panel_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_layout_manager_unittest.cc
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc
index 0ea8f0281109a079ca66cf2355f62f0291568355..9bf9b691fc6fb4d669c5af681cc9648783545284 100644
--- a/ash/wm/panels/panel_layout_manager_unittest.cc
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc
@@ -105,12 +105,10 @@ class PanelLayoutManagerTest : public test::AshTestBase {
}
views::Widget* GetCalloutWidgetForPanel(aura::Window* panel) {
- WmWindow* wm_panel = WmWindow::Get(panel);
- PanelLayoutManager* manager = PanelLayoutManager::Get(wm_panel);
+ PanelLayoutManager* manager = PanelLayoutManager::Get(panel);
DCHECK(manager);
- PanelLayoutManager::PanelList::iterator found =
- std::find(manager->panel_windows_.begin(),
- manager->panel_windows_.end(), wm_panel);
+ PanelLayoutManager::PanelList::iterator found = std::find(
+ manager->panel_windows_.begin(), manager->panel_windows_.end(), panel);
DCHECK(found != manager->panel_windows_.end());
DCHECK(found->callout_widget);
return found->CalloutWidget();
« no previous file with comments | « ash/wm/panels/panel_layout_manager.cc ('k') | ash/wm/panels/panel_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698