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

Unified Diff: chrome/browser/ui/ash/shelf_browsertest.cc

Issue 12313118: Refactor: Shelf Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: safer shutdown (status_area_widget_) Created 7 years, 9 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/ui/ash/shelf_browsertest.cc
diff --git a/chrome/browser/ui/ash/shelf_browsertest.cc b/chrome/browser/ui/ash/shelf_browsertest.cc
index 36cd047eec1183dab73cf87bd26a6240450cb24d..ff3170be54cf49dca7f4cbcbd97aa3bdaca25b4e 100644
--- a/chrome/browser/ui/ash/shelf_browsertest.cc
+++ b/chrome/browser/ui/ash/shelf_browsertest.cc
@@ -3,8 +3,8 @@
// found in the LICENSE file.
#include "ash/root_window_controller.h"
+#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shell.h"
-#include "ash/wm/shelf_layout_manager.h"
#include "ash/wm/workspace_controller.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/ui/browser.h"
@@ -18,7 +18,7 @@ typedef InProcessBrowserTest ShelfBrowserTest;
IN_PROC_BROWSER_TEST_F(ShelfBrowserTest, StatusBubble) {
ash::internal::ShelfLayoutManager* shelf =
ash::internal::RootWindowController::ForLauncher(
- browser()->window()->GetNativeWindow())->shelf();
+ browser()->window()->GetNativeWindow())->GetShelfLayoutManager();
EXPECT_TRUE(shelf->IsVisible());
// Ensure that the browser abuts the shelf.

Powered by Google App Engine
This is Rietveld 408576698