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

Unified Diff: apps/app_delegate.h

Issue 489453002: Add GetAppDefaultIcon() to AppDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_delegate.h
diff --git a/apps/app_delegate.h b/apps/app_delegate.h
index 72ae2cf757f8dd336793cac173ff4287e310c0f1..bb7f2a4067f77dccf1579111a33e54782e35cef4 100644
--- a/apps/app_delegate.h
+++ b/apps/app_delegate.h
@@ -8,6 +8,7 @@
#include "content/public/common/media_stream_request.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/window_open_disposition.h"
+#include "ui/gfx/image/image_skia.h"
namespace content {
class BrowserContext;
@@ -60,6 +61,7 @@ class AppDelegate {
const content::MediaResponseCallback& callback,
const extensions::Extension* extension) = 0;
virtual int PreferredIconSize() = 0;
+ virtual gfx::ImageSkia GetAppDefaultIcon() = 0;
// Web contents modal dialog support.
virtual void SetWebContentsBlocked(content::WebContents* web_contents,
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698