OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ui/app_list/presenter/test/test_app_list_presenter.h" |
| 6 |
| 7 namespace app_list { |
| 8 namespace test { |
| 9 |
| 10 TestAppListPresenter::TestAppListPresenter() : binding_(this) {} |
| 11 |
| 12 TestAppListPresenter::~TestAppListPresenter() {} |
| 13 |
| 14 app_list::mojom::AppListPresenterPtr |
| 15 TestAppListPresenter::CreateInterfacePtrAndBind() { |
| 16 return binding_.CreateInterfacePtrAndBind(); |
| 17 } |
| 18 |
| 19 void TestAppListPresenter::Show(int64_t display_id) { |
| 20 show_count_++; |
| 21 } |
| 22 |
| 23 void TestAppListPresenter::Dismiss() { |
| 24 dismiss_count_++; |
| 25 } |
| 26 |
| 27 void TestAppListPresenter::ToggleAppList(int64_t display_id) { |
| 28 toggle_count_++; |
| 29 } |
| 30 |
| 31 } // namespace test |
| 32 } // namespace app_list |
OLD | NEW |