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

Side by Side Diff: extensions/shell/browser/shell_app_delegate.h

Issue 2900783003: Handle app custom icon via aura::Window property. (Closed)
Patch Set: fix mac compile Created 3 years, 6 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 EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 #include "extensions/browser/app_window/app_delegate.h" 10 #include "extensions/browser/app_window/app_delegate.h"
(...skipping 28 matching lines...) Expand all
39 const content::FileChooserParams& params) override; 39 const content::FileChooserParams& params) override;
40 void RequestMediaAccessPermission( 40 void RequestMediaAccessPermission(
41 content::WebContents* web_contents, 41 content::WebContents* web_contents,
42 const content::MediaStreamRequest& request, 42 const content::MediaStreamRequest& request,
43 const content::MediaResponseCallback& callback, 43 const content::MediaResponseCallback& callback,
44 const Extension* extension) override; 44 const Extension* extension) override;
45 bool CheckMediaAccessPermission(content::WebContents* web_contents, 45 bool CheckMediaAccessPermission(content::WebContents* web_contents,
46 const GURL& security_origin, 46 const GURL& security_origin,
47 content::MediaStreamType type, 47 content::MediaStreamType type,
48 const Extension* extension) override; 48 const Extension* extension) override;
49 int PreferredIconSize() override; 49 int PreferredIconSize() const override;
50 void SetWebContentsBlocked(content::WebContents* web_contents, 50 void SetWebContentsBlocked(content::WebContents* web_contents,
51 bool blocked) override; 51 bool blocked) override;
52 bool IsWebContentsVisible(content::WebContents* web_contents) override; 52 bool IsWebContentsVisible(content::WebContents* web_contents) override;
53 void SetTerminatingCallback(const base::Closure& callback) override; 53 void SetTerminatingCallback(const base::Closure& callback) override;
54 void OnHide() override {} 54 void OnHide() override {}
55 void OnShow() override {} 55 void OnShow() override {}
56 56
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); 58 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate);
59 }; 59 };
60 60
61 } // namespace extensions 61 } // namespace extensions
62 62
63 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 63 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/common/manifest_handlers/icons_handler.cc ('k') | extensions/shell/browser/shell_app_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698