OLD | NEW |
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 "extensions/browser/app_window/app_delegate.h" | 8 #include "extensions/browser/app_window/app_delegate.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
(...skipping 27 matching lines...) Expand all Loading... |
38 virtual void RequestMediaAccessPermission( | 38 virtual void RequestMediaAccessPermission( |
39 content::WebContents* web_contents, | 39 content::WebContents* web_contents, |
40 const content::MediaStreamRequest& request, | 40 const content::MediaStreamRequest& request, |
41 const content::MediaResponseCallback& callback, | 41 const content::MediaResponseCallback& callback, |
42 const Extension* extension) OVERRIDE; | 42 const Extension* extension) OVERRIDE; |
43 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents, | 43 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents, |
44 const GURL& security_origin, | 44 const GURL& security_origin, |
45 content::MediaStreamType type, | 45 content::MediaStreamType type, |
46 const Extension* extension) OVERRIDE; | 46 const Extension* extension) OVERRIDE; |
47 virtual int PreferredIconSize() OVERRIDE; | 47 virtual int PreferredIconSize() OVERRIDE; |
48 virtual gfx::ImageSkia GetAppDefaultIcon() OVERRIDE; | |
49 virtual void SetWebContentsBlocked(content::WebContents* web_contents, | 48 virtual void SetWebContentsBlocked(content::WebContents* web_contents, |
50 bool blocked) OVERRIDE; | 49 bool blocked) OVERRIDE; |
51 virtual bool IsWebContentsVisible( | 50 virtual bool IsWebContentsVisible( |
52 content::WebContents* web_contents) OVERRIDE; | 51 content::WebContents* web_contents) OVERRIDE; |
53 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE; | 52 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE; |
54 | 53 |
55 private: | 54 private: |
56 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); | 55 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); |
57 }; | 56 }; |
58 | 57 |
59 } // namespace extensions | 58 } // namespace extensions |
60 | 59 |
61 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ | 60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ |
OLD | NEW |