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 |
| 9 TestAppListPresenter::TestAppListPresenter() : binding_(this) {} |
| 10 |
| 11 TestAppListPresenter::~TestAppListPresenter() {} |
| 12 |
| 13 app_list::mojom::AppListPresenterPtr |
| 14 TestAppListPresenter::CreateInterfacePtrAndBind() { |
| 15 return binding_.CreateInterfacePtrAndBind(); |
| 16 } |
| 17 |
| 18 void TestAppListPresenter::Show(int64_t display_id) { |
| 19 show_count_++; |
| 20 } |
| 21 |
| 22 void TestAppListPresenter::Dismiss() { |
| 23 dismiss_count_++; |
| 24 } |
| 25 |
| 26 void TestAppListPresenter::ToggleAppList(int64_t display_id) { |
| 27 toggle_count_++; |
| 28 } |
| 29 |
| 30 } // namespace app_list |
OLD | NEW |