| Index: chrome/browser/ui/extensions/shell_window.h
|
| diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
|
| index 0a7a43ffe80681434da1d7e5af5a82a103abd914..544d2bebea7a0a7834a99608f2961d104107fda8 100644
|
| --- a/chrome/browser/ui/extensions/shell_window.h
|
| +++ b/chrome/browser/ui/extensions/shell_window.h
|
| @@ -76,6 +76,9 @@ class ShellWindow : public content::NotificationObserver,
|
| const GURL& url,
|
| const CreateParams& params);
|
|
|
| + // Specifies a url for the launcher icon.
|
| + void SetLauncherIconUrl(const GURL& icon_url);
|
| +
|
| // Convert draggable regions in raw format to SkRegion format. Caller is
|
| // responsible for deleting the returned SkRegion instance.
|
| static SkRegion* RawDraggableRegionsToSkRegion(
|
| @@ -87,6 +90,7 @@ class ShellWindow : public content::NotificationObserver,
|
| content::WebContents* web_contents() const { return web_contents_.get(); }
|
| Profile* profile() const { return profile_; }
|
| const gfx::Image& app_icon() const { return app_icon_; }
|
| + const GURL& launcher_icon_url() { return launcher_icon_url_; }
|
|
|
| BaseWindow* GetBaseWindow();
|
| gfx::NativeWindow GetNativeWindow() {
|
| @@ -211,6 +215,10 @@ class ShellWindow : public content::NotificationObserver,
|
| // Used for loading app_icon_.
|
| scoped_ptr<ImageLoadingTracker> app_icon_loader_;
|
|
|
| + // Icon URL to be used for setting the launcher icon. If empty, the app icon
|
| + // should be used.
|
| + GURL launcher_icon_url_;
|
| +
|
| scoped_ptr<NativeAppWindow> native_app_window_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShellWindow);
|
|
|