| 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 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 "apps/app_delegate.h" | 8 #include "apps/app_delegate.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ui/base/window_open_disposition.h" | 10 #include "ui/base/window_open_disposition.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 SkColor initial_color) OVERRIDE; | 42 SkColor initial_color) OVERRIDE; |
| 43 virtual void RunFileChooser( | 43 virtual void RunFileChooser( |
| 44 content::WebContents* tab, | 44 content::WebContents* tab, |
| 45 const content::FileChooserParams& params) OVERRIDE; | 45 const content::FileChooserParams& params) OVERRIDE; |
| 46 virtual void RequestMediaAccessPermission( | 46 virtual void RequestMediaAccessPermission( |
| 47 content::WebContents* web_contents, | 47 content::WebContents* web_contents, |
| 48 const content::MediaStreamRequest& request, | 48 const content::MediaStreamRequest& request, |
| 49 const content::MediaResponseCallback& callback, | 49 const content::MediaResponseCallback& callback, |
| 50 const extensions::Extension* extension) OVERRIDE; | 50 const extensions::Extension* extension) OVERRIDE; |
| 51 virtual int PreferredIconSize() OVERRIDE; | 51 virtual int PreferredIconSize() OVERRIDE; |
| 52 virtual gfx::ImageSkia GetAppDefaultIcon() OVERRIDE; |
| 52 virtual void SetWebContentsBlocked(content::WebContents* web_contents, | 53 virtual void SetWebContentsBlocked(content::WebContents* web_contents, |
| 53 bool blocked) OVERRIDE; | 54 bool blocked) OVERRIDE; |
| 54 virtual bool IsWebContentsVisible( | 55 virtual bool IsWebContentsVisible( |
| 55 content::WebContents* web_contents) OVERRIDE; | 56 content::WebContents* web_contents) OVERRIDE; |
| 56 | 57 |
| 57 scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_; | 58 scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_; |
| 58 | 59 |
| 59 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate); | 60 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ | 63 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ |
| OLD | NEW |