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

Unified Diff: ui/app_list/app_list_view_delegate.h

Issue 10900018: Introduce App Launcher for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 4 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
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 d7e0c82f638e881b910223d7609aebba7054700f..971be802be2c32917bdcb086c9f1eaefe3e92962 100644
--- a/ui/app_list/app_list_view_delegate.h
+++ b/ui/app_list/app_list_view_delegate.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ // Copyright (c) 2012 The Chromium Authors. All rights reserved.
msw 2012/08/29 08:02:35 nit: remove spaces
benwells 2012/08/30 06:51:30 Done.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,6 +7,10 @@
#include "ui/app_list/app_list_export.h"
+namespace gfx {
+class ImageSkia;
+}
+
namespace app_list {
class AppListItemModel;
@@ -46,6 +50,9 @@ class APP_LIST_EXPORT AppListViewDelegate {
// Invoked to close app list.
virtual void Close() = 0;
+
+ // Get the application icon to be used, if any, for the app list.
+ virtual gfx::ImageSkia GetWindowAppIcon() = 0;
msw 2012/08/29 08:02:35 nit: return a pointer to avoid copying?
xiyuan 2012/08/29 17:39:15 gfx::ImageSkia is similar to SkBitmap. Copying is
};
} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698