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

Unified Diff: ash/wm/panel_window_resizer_unittest.cc

Issue 12313118: Refactor: Shelf Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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: ash/wm/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panel_window_resizer_unittest.cc b/ash/wm/panel_window_resizer_unittest.cc
index aff789db1d67433233a835db15751a734d41688a..4b51914e7502c145df16cd677792c11eb87907a5 100644
--- a/ash/wm/panel_window_resizer_unittest.cc
+++ b/ash/wm/panel_window_resizer_unittest.cc
@@ -6,6 +6,7 @@
#include "ash/launcher/launcher.h"
#include "ash/root_window_controller.h"
+#include "ash/shelf/shelf_widget.h"
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
#include "ash/test/ash_test_base.h"
@@ -34,7 +35,7 @@ class PanelWindowResizerTest : public test::AshTestBase {
panel_layout_manager_ = static_cast<internal::PanelLayoutManager*>(
GetPanelContainer()->layout_manager());
- launcher_top_ = panel_layout_manager_->launcher()->widget()->
+ launcher_top_ = panel_layout_manager_->launcher()->shelf_widget()->
GetWindowBoundsInScreen().y();
EXPECT_EQ(launcher_top_, window_->bounds().bottom());
}

Powered by Google App Engine
This is Rietveld 408576698