1 // Copyright 2013 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.
5 #include "ui/app_list/test/app_list_test_view_delegate.h"
7 #include "base/callback.h"
8 #include "base/files/file_path.h"
9 #include "ui/gfx/image/image_skia.h"
14 AppListTestViewDelegate::AppListTestViewDelegate()
16 test_signin_delegate_(NULL
) {
19 AppListTestViewDelegate::~AppListTestViewDelegate() {}
21 SigninDelegate
* AppListTestViewDelegate::GetSigninDelegate() {
22 return test_signin_delegate_
;
25 void AppListTestViewDelegate::GetShortcutPathForApp(
26 const std::string
& app_id
,
27 const base::Callback
<void(const base::FilePath
&)>& callback
) {
28 callback
.Run(base::FilePath());
31 void AppListTestViewDelegate::Dismiss() {
35 gfx::ImageSkia
AppListTestViewDelegate::GetWindowIcon() {
36 return gfx::ImageSkia();
39 content::WebContents
* AppListTestViewDelegate::GetStartPageContents() {
44 } // namespace app_list