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

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

Issue 2341113003: Remove deprecation warning banner from App Launcher code. (Closed)
Patch Set: Created 4 years, 3 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 | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/views/app_list_view_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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/app_list/app_list_view_delegate.h" 5 #include "ui/app_list/app_list_view_delegate.h"
6 6
7 namespace app_list { 7 namespace app_list {
8 8
9 AppListViewDelegate::User::User() : active(false) { 9 AppListViewDelegate::User::User() : active(false) {
10 } 10 }
11 11
12 AppListViewDelegate::User::User(const User& other) = default; 12 AppListViewDelegate::User::User(const User& other) = default;
13 13
14 AppListViewDelegate::User::~User() {} 14 AppListViewDelegate::User::~User() {}
15 15
16 #if !defined(OS_CHROMEOS)
17 base::string16 AppListViewDelegate::GetMessageTitle() const {
18 return base::string16();
19 }
20 base::string16 AppListViewDelegate::GetMessageText(
21 size_t* message_break) const {
22 *message_break = 0;
23 return base::string16();
24 }
25 base::string16 AppListViewDelegate::GetAppsShortcutName() const {
26 return base::string16();
27 }
28 base::string16 AppListViewDelegate::GetLearnMoreText() const {
29 return base::string16();
30 }
31 base::string16 AppListViewDelegate::GetLearnMoreLink() const {
32 return base::string16();
33 }
34 gfx::ImageSkia* AppListViewDelegate::GetAppsIcon() const {
35 return nullptr;
36 }
37 void AppListViewDelegate::OpenLearnMoreLink() {}
38 #endif
39
40 } // namespace app_list 16 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698