Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: ui/app_list/presenter/test/test_app_list_presenter.cc

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Sync and rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « ui/app_list/presenter/test/test_app_list_presenter.h ('k') | ui/app_list/presenter/test/test_app_list_view_delegate_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698