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

Unified Diff: ui/app_list/app_list_view_delegate.h

Issue 1802473002: Add deprecation warning banner to App Launcher on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20170310-MacViews-ViewsUnittests
Patch Set: Separate function Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_view_delegate.h
diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
index 69462e78e42e6304b9d44d3980fc00fd878a0535..2a2beca5d3d8797a228f55a023a516b4abfb1ec0 100644
--- a/ui/app_list/app_list_view_delegate.h
+++ b/ui/app_list/app_list_view_delegate.h
@@ -165,6 +165,21 @@ class APP_LIST_EXPORT AppListViewDelegate {
// Adds/removes an observer for profile changes.
virtual void AddObserver(AppListViewDelegateObserver* observer) {}
virtual void RemoveObserver(AppListViewDelegateObserver* observer) {}
+
+#if !defined(OS_CHROMEOS)
+ // Methods to retrieve properties of the message displayed on the app launcher
+ // above the apps grid.
+ virtual base::string16 GetMessageTitle() const;
+ // Returns the message text (with the placeholder symbol removed).
+ // |message_break| is set to the index where the placeholder was in the
+ // string.
+ virtual base::string16 GetMessageText(size_t* message_break) const;
+ virtual base::string16 GetAppsShortcutName() const;
+ virtual base::string16 GetLearnMoreText() const;
+ virtual base::string16 GetLearnMoreLink() const;
+ virtual gfx::ImageSkia* GetAppsIcon() const;
+ virtual void OpenLearnMoreLink();
+#endif
};
} // namespace app_list
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698