| 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 #include "athena/extensions/shell/athena_shell_app_delegate.h" | 5 #include "athena/extensions/shell/athena_shell_app_delegate.h" |
| 6 | 6 |
| 7 #include "content/public/browser/web_contents.h" | 7 #include "content/public/browser/web_contents.h" |
| 8 #include "extensions/shell/browser/media_capture_util.h" | 8 #include "extensions/shell/browser/media_capture_util.h" |
| 9 | 9 |
| 10 namespace athena { | 10 namespace athena { |
| 11 | 11 |
| 12 AthenaShellAppDelegate::AthenaShellAppDelegate() { | 12 AthenaShellAppDelegate::AthenaShellAppDelegate() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 AthenaShellAppDelegate::~AthenaShellAppDelegate() { | 15 AthenaShellAppDelegate::~AthenaShellAppDelegate() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void AthenaShellAppDelegate::InitWebContents( | 18 void AthenaShellAppDelegate::InitWebContents( |
| 19 content::WebContents* web_contents) { | 19 content::WebContents* web_contents) { |
| 20 // TODO(oshima): Enable Favicon, Printing, e c. See | 20 // TODO(oshima): Enable Favicon, Printing, e c. See |
| 21 // athena_chrome_app_delegate.cc. | 21 // athena_chrome_app_delegate.cc. |
| 22 NOTIMPLEMENTED(); | 22 NOTIMPLEMENTED(); |
| 23 } | 23 } |
| 24 | 24 |
| 25 content::ColorChooser* AthenaShellAppDelegate::ShowColorChooser( | 25 content::ColorChooser* AthenaShellAppDelegate::ShowColorChooser( |
| 26 content::WebContents* web_contents, | 26 content::WebContents* web_contents, |
| 27 SkColor initial_color) { | 27 SkColor initial_color) { |
| 28 NOTIMPLEMENTED(); | 28 NOTIMPLEMENTED(); |
| 29 return NULL; | 29 return nullptr; |
| 30 } | 30 } |
| 31 | 31 |
| 32 void AthenaShellAppDelegate::RunFileChooser( | 32 void AthenaShellAppDelegate::RunFileChooser( |
| 33 content::WebContents* tab, | 33 content::WebContents* tab, |
| 34 const content::FileChooserParams& params) { | 34 const content::FileChooserParams& params) { |
| 35 NOTIMPLEMENTED(); | 35 NOTIMPLEMENTED(); |
| 36 } | 36 } |
| 37 | 37 |
| 38 void AthenaShellAppDelegate::RequestMediaAccessPermission( | 38 void AthenaShellAppDelegate::RequestMediaAccessPermission( |
| 39 content::WebContents* web_contents, | 39 content::WebContents* web_contents, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 52 extensions::media_capture_util::VerifyMediaAccessPermission(type, extension); | 52 extensions::media_capture_util::VerifyMediaAccessPermission(type, extension); |
| 53 return true; | 53 return true; |
| 54 } | 54 } |
| 55 | 55 |
| 56 void AthenaShellAppDelegate::SetWebContentsBlocked( | 56 void AthenaShellAppDelegate::SetWebContentsBlocked( |
| 57 content::WebContents* web_contents, | 57 content::WebContents* web_contents, |
| 58 bool blocked) { | 58 bool blocked) { |
| 59 NOTIMPLEMENTED(); | 59 NOTIMPLEMENTED(); |
| 60 } | 60 } |
| 61 } // namespace athena | 61 } // namespace athena |
| OLD | NEW |