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

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

Issue 2567523002: mash: Have chrome set itself as the app list presenter. (Closed)
Patch Set: Address comments, Created 4 years 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
« no previous file with comments | « ui/app_list/presenter/app_list.h ('k') | ui/app_list/presenter/app_list_presenter.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/app_list.h"
6
7 namespace app_list {
8
9 AppList::AppList() {}
10
11 AppList::~AppList() {}
12
13 void AppList::BindRequest(mojom::AppListRequest request) {
14 bindings_.AddBinding(this, std::move(request));
15 }
16
17 mojom::AppListPresenter* AppList::GetAppListPresenter() {
18 return presenter_.get();
19 }
20
21 void AppList::SetAppListPresenter(mojom::AppListPresenterPtr presenter) {
22 presenter_ = std::move(presenter);
23 }
24
25 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/presenter/app_list.h ('k') | ui/app_list/presenter/app_list_presenter.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698