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

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: Fix test name. Created 3 years, 12 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698