| Index: ui/app_list/presenter/test/test_app_list_presenter.cc
|
| diff --git a/ui/app_list/presenter/test/test_app_list_presenter.cc b/ui/app_list/presenter/test/test_app_list_presenter.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f83b1169b67eda6e458ca97f9850beea9dc80cbe
|
| --- /dev/null
|
| +++ b/ui/app_list/presenter/test/test_app_list_presenter.cc
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/app_list/presenter/test/test_app_list_presenter.h"
|
| +
|
| +namespace app_list {
|
| +namespace test {
|
| +
|
| +TestAppListPresenter::TestAppListPresenter() : binding_(this) {}
|
| +
|
| +TestAppListPresenter::~TestAppListPresenter() {}
|
| +
|
| +app_list::mojom::AppListPresenterPtr
|
| +TestAppListPresenter::CreateInterfacePtrAndBind() {
|
| + return binding_.CreateInterfacePtrAndBind();
|
| +}
|
| +
|
| +void TestAppListPresenter::Show(int64_t display_id) {
|
| + show_count_++;
|
| +}
|
| +
|
| +void TestAppListPresenter::Dismiss() {
|
| + dismiss_count_++;
|
| +}
|
| +
|
| +void TestAppListPresenter::ToggleAppList(int64_t display_id) {
|
| + toggle_count_++;
|
| +}
|
| +
|
| +} // namespace test
|
| +} // namespace app_list
|
|
|