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

Side by Side Diff: chromecast/browser/cast_content_browser_client.h

Issue 1041513002: Chromecast: grant all permissions from CastContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 content::ResourceType resource_type, 64 content::ResourceType resource_type,
65 bool overridable, 65 bool overridable,
66 bool strict_enforcement, 66 bool strict_enforcement,
67 bool expired_previous_decision, 67 bool expired_previous_decision,
68 const base::Callback<void(bool)>& callback, 68 const base::Callback<void(bool)>& callback,
69 content::CertificateRequestResultType* result) override; 69 content::CertificateRequestResultType* result) override;
70 void SelectClientCertificate( 70 void SelectClientCertificate(
71 content::WebContents* web_contents, 71 content::WebContents* web_contents,
72 net::SSLCertRequestInfo* cert_request_info, 72 net::SSLCertRequestInfo* cert_request_info,
73 scoped_ptr<content::ClientCertificateDelegate> delegate) override; 73 scoped_ptr<content::ClientCertificateDelegate> delegate) override;
74 void RequestPermission(
75 content::PermissionType permission,
76 content::WebContents* web_contents,
77 int bridge_id,
78 const GURL& requesting_frame,
79 bool user_gesture,
80 const base::Callback<void(content::PermissionStatus)>& callback) override;
81 content::PermissionStatus GetPermissionStatus(
82 content::PermissionType permission,
83 content::BrowserContext* browser_context,
84 const GURL& requesting_origin,
85 const GURL& embedding_origin) override;
74 bool CanCreateWindow( 86 bool CanCreateWindow(
75 const GURL& opener_url, 87 const GURL& opener_url,
76 const GURL& opener_top_level_frame_url, 88 const GURL& opener_top_level_frame_url,
77 const GURL& source_origin, 89 const GURL& source_origin,
78 WindowContainerType container_type, 90 WindowContainerType container_type,
79 const GURL& target_url, 91 const GURL& target_url,
80 const content::Referrer& referrer, 92 const content::Referrer& referrer,
81 WindowOpenDisposition disposition, 93 WindowOpenDisposition disposition,
82 const blink::WebWindowFeatures& features, 94 const blink::WebWindowFeatures& features,
83 bool user_gesture, 95 bool user_gesture,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 128
117 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; 129 scoped_ptr<URLRequestContextFactory> url_request_context_factory_;
118 130
119 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 131 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
120 }; 132 };
121 133
122 } // namespace shell 134 } // namespace shell
123 } // namespace chromecast 135 } // namespace chromecast
124 136
125 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 137 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698