| 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 22 matching lines...) Expand all Loading... |
| 33 content::WebContents* web_contents, | 33 content::WebContents* web_contents, |
| 34 SkColor initial_color) OVERRIDE; | 34 SkColor initial_color) OVERRIDE; |
| 35 virtual void RunFileChooser( | 35 virtual void RunFileChooser( |
| 36 content::WebContents* tab, | 36 content::WebContents* tab, |
| 37 const content::FileChooserParams& params) OVERRIDE; | 37 const content::FileChooserParams& params) OVERRIDE; |
| 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 void CheckMediaAccessPermission(content::WebContents* web_contents, |
| 44 const GURL& security_origin, |
| 45 content::MediaStreamType type, |
| 46 const Extension* extension) OVERRIDE; |
| 43 virtual int PreferredIconSize() OVERRIDE; | 47 virtual int PreferredIconSize() OVERRIDE; |
| 44 virtual gfx::ImageSkia GetAppDefaultIcon() OVERRIDE; | 48 virtual gfx::ImageSkia GetAppDefaultIcon() OVERRIDE; |
| 45 virtual void SetWebContentsBlocked(content::WebContents* web_contents, | 49 virtual void SetWebContentsBlocked(content::WebContents* web_contents, |
| 46 bool blocked) OVERRIDE; | 50 bool blocked) OVERRIDE; |
| 47 virtual bool IsWebContentsVisible( | 51 virtual bool IsWebContentsVisible( |
| 48 content::WebContents* web_contents) OVERRIDE; | 52 content::WebContents* web_contents) OVERRIDE; |
| 49 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE; | 53 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE; |
| 50 | 54 |
| 51 private: | 55 private: |
| 52 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); | 56 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); |
| 53 }; | 57 }; |
| 54 | 58 |
| 55 } // namespace extensions | 59 } // namespace extensions |
| 56 | 60 |
| 57 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ | 61 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ |
| OLD | NEW |