| Index: ash/common/test/test_shelf_item_delegate.cc
|
| diff --git a/ash/common/test/test_shelf_item_delegate.cc b/ash/common/test/test_shelf_item_delegate.cc
|
| index e257d6e2aad55e25adb5dd9cdf77c3b0e958da77..3e21839d0a256e62cb61dd980be927cdd0fab17c 100644
|
| --- a/ash/common/test/test_shelf_item_delegate.cc
|
| +++ b/ash/common/test/test_shelf_item_delegate.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ash/common/test/test_shelf_item_delegate.h"
|
|
|
| #include "ash/common/wm_window.h"
|
| +#include "ash/wm/window_util.h"
|
|
|
| namespace ash {
|
| namespace test {
|
| @@ -14,11 +15,13 @@ TestShelfItemDelegate::TestShelfItemDelegate(WmWindow* window)
|
|
|
| TestShelfItemDelegate::~TestShelfItemDelegate() {}
|
|
|
| -ShelfItemDelegate::PerformedAction TestShelfItemDelegate::ItemSelected(
|
| - const ui::Event& event) {
|
| +ShelfAction TestShelfItemDelegate::ItemSelected(ui::EventType event_type,
|
| + int event_flags,
|
| + int64_t display_id,
|
| + ShelfLaunchSource source) {
|
| if (window_) {
|
| if (window_->GetType() == ui::wm::WINDOW_TYPE_PANEL)
|
| - window_->MoveToEventRoot(event);
|
| + wm::MoveWindowToDisplay(window_->aura_window(), display_id);
|
| window_->Show();
|
| window_->Activate();
|
| return kExistingWindowActivated;
|
|
|