| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index fec998ba28f5f0cbdb27de5fbb94de4bf84bfe45..18bc4449f9985876bbf914abca2135b77b577649 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -70,11 +70,6 @@ bool IsDraggingTrayEnabled() {
|
| return dragging_tray_allowed;
|
| }
|
|
|
| -int GetPreferredShelfSize() {
|
| - return ash::switches::UseAlternateShelfLayout() ?
|
| - ShelfLayoutManager::kShelfSize : kLauncherPreferredSize;
|
| -}
|
| -
|
| } // namespace
|
|
|
| // static
|
| @@ -89,6 +84,11 @@ const int ShelfLayoutManager::kAutoHideSize = 3;
|
| // static
|
| const int ShelfLayoutManager::kShelfSize = 47;
|
|
|
| +int ShelfLayoutManager::GetPreferredShelfSize() {
|
| + return ash::switches::UseAlternateShelfLayout() ?
|
| + ShelfLayoutManager::kShelfSize : kLauncherPreferredSize;
|
| +}
|
| +
|
| // ShelfLayoutManager::AutoHideEventFilter -------------------------------------
|
|
|
| // Notifies ShelfLayoutManager any time the mouse moves.
|
|
|