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

Side by Side Diff: ash/wm/app_list_shower_delegate_factory.cc

Issue 1770993002: wip: Refactoring Ash's AppListController, moving the bulk of the logic to chrome/browser/ui/ash/app… Base URL: https://chromium.googlesource.com/chromium/src.git@small_5_apps
Patch Set: AppListShower to new component: //ui/app_list/shower, GetViewDelegate() in GetViewDelegate(), test … Created 4 years, 8 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
« no previous file with comments | « ash/wm/app_list_shower_delegate_factory.h ('k') | ash/wm/app_list_shower_delegate_unittest.cc » ('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 "ash/wm/app_list_shower_delegate_factory.h"
6
7 #include "ash/wm/app_list_shower_delegate.h"
8 #include "ash/wm/app_list_view_delegate_factory.h"
9
10 namespace ash {
11
12 AppListShowerDelegateFactory::AppListShowerDelegateFactory(
13 scoped_ptr<AppListViewDelegateFactory> view_delegate_factory)
14 : view_delegate_factory_(std::move(view_delegate_factory)) {}
15
16 AppListShowerDelegateFactory::~AppListShowerDelegateFactory() {}
17
18 scoped_ptr<app_list::AppListShowerDelegate>
19 AppListShowerDelegateFactory::GetDelegate(app_list::AppListShower* shower) {
20 return scoped_ptr<app_list::AppListShowerDelegate>(
21 new AppListShowerDelegate(shower, view_delegate_factory_.get()));
22 }
23
24 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/app_list_shower_delegate_factory.h ('k') | ash/wm/app_list_shower_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698