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

Side by Side Diff: athena/extensions/shell/athena_shell_app_delegate.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "athena/extensions/shell/athena_shell_app_delegate.h"
6
7 #include "content/public/browser/web_contents.h"
8 #include "extensions/shell/browser/media_capture_util.h"
9
10 namespace athena {
11
12 AthenaShellAppDelegate::AthenaShellAppDelegate() {
13 }
14
15 AthenaShellAppDelegate::~AthenaShellAppDelegate() {
16 }
17
18 void AthenaShellAppDelegate::InitWebContents(
19 content::WebContents* web_contents) {
20 // TODO(oshima): Enable Favicon, Printing, e c. See
21 // athena_chrome_app_delegate.cc.
22 NOTIMPLEMENTED();
23 }
24
25 content::ColorChooser* AthenaShellAppDelegate::ShowColorChooser(
26 content::WebContents* web_contents,
27 SkColor initial_color) {
28 NOTIMPLEMENTED();
29 return nullptr;
30 }
31
32 void AthenaShellAppDelegate::RunFileChooser(
33 content::WebContents* tab,
34 const content::FileChooserParams& params) {
35 NOTIMPLEMENTED();
36 }
37
38 void AthenaShellAppDelegate::RequestMediaAccessPermission(
39 content::WebContents* web_contents,
40 const content::MediaStreamRequest& request,
41 const content::MediaResponseCallback& callback,
42 const extensions::Extension* extension) {
43 extensions::media_capture_util::GrantMediaStreamRequest(
44 web_contents, request, callback, extension);
45 }
46
47 bool AthenaShellAppDelegate::CheckMediaAccessPermission(
48 content::WebContents* web_contents,
49 const GURL& security_origin,
50 content::MediaStreamType type,
51 const extensions::Extension* extension) {
52 extensions::media_capture_util::VerifyMediaAccessPermission(type, extension);
53 return true;
54 }
55
56 void AthenaShellAppDelegate::SetWebContentsBlocked(
57 content::WebContents* web_contents,
58 bool blocked) {
59 NOTIMPLEMENTED();
60 }
61 } // namespace athena
OLDNEW
« no previous file with comments | « athena/extensions/shell/athena_shell_app_delegate.h ('k') | athena/extensions/shell/athena_shell_app_window_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698