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

Side by Side Diff: chrome/browser/ui/apps/chrome_app_delegate.h

Issue 586853004: Remove AppDelegate::GetAppDefaultIcon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@not-impl
Patch Set: (app-icon) rebase Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 content::WebContents* web_contents, 53 content::WebContents* web_contents,
54 const content::MediaStreamRequest& request, 54 const content::MediaStreamRequest& request,
55 const content::MediaResponseCallback& callback, 55 const content::MediaResponseCallback& callback,
56 const extensions::Extension* extension) OVERRIDE; 56 const extensions::Extension* extension) OVERRIDE;
57 virtual bool CheckMediaAccessPermission( 57 virtual bool CheckMediaAccessPermission(
58 content::WebContents* web_contents, 58 content::WebContents* web_contents,
59 const GURL& security_origin, 59 const GURL& security_origin,
60 content::MediaStreamType type, 60 content::MediaStreamType type,
61 const extensions::Extension* extension) OVERRIDE; 61 const extensions::Extension* extension) OVERRIDE;
62 virtual int PreferredIconSize() OVERRIDE; 62 virtual int PreferredIconSize() OVERRIDE;
63 virtual gfx::ImageSkia GetAppDefaultIcon() OVERRIDE;
64 virtual void SetWebContentsBlocked(content::WebContents* web_contents, 63 virtual void SetWebContentsBlocked(content::WebContents* web_contents,
65 bool blocked) OVERRIDE; 64 bool blocked) OVERRIDE;
66 virtual bool IsWebContentsVisible( 65 virtual bool IsWebContentsVisible(
67 content::WebContents* web_contents) OVERRIDE; 66 content::WebContents* web_contents) OVERRIDE;
68 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE; 67 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE;
69 68
70 // content::NotificationObserver: 69 // content::NotificationObserver:
71 virtual void Observe(int type, 70 virtual void Observe(int type,
72 const content::NotificationSource& source, 71 const content::NotificationSource& source,
73 const content::NotificationDetails& details) OVERRIDE; 72 const content::NotificationDetails& details) OVERRIDE;
74 73
75 scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_; 74 scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_;
76 base::Closure terminating_callback_; 75 base::Closure terminating_callback_;
77 content::NotificationRegistrar registrar_; 76 content::NotificationRegistrar registrar_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate); 78 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate);
80 }; 79 };
81 80
82 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ 81 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698