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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 1181493002: [Patch 3 of 6] Split out content/child's SiteIsolationPolicy into two new classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename_policy_to_sniffer2
Patch Set: Add crbug. Created 5 years, 6 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 | chrome/renderer/chrome_content_renderer_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 blink::WebPrescientNetworking* GetPrescientNetworking() override; 126 blink::WebPrescientNetworking* GetPrescientNetworking() override;
127 bool ShouldOverridePageVisibilityState( 127 bool ShouldOverridePageVisibilityState(
128 const content::RenderFrame* render_frame, 128 const content::RenderFrame* render_frame,
129 blink::WebPageVisibilityState* override_state) override; 129 blink::WebPageVisibilityState* override_state) override;
130 const void* CreatePPAPIInterface(const std::string& interface_name) override; 130 const void* CreatePPAPIInterface(const std::string& interface_name) override;
131 bool IsExternalPepperPlugin(const std::string& module_name) override; 131 bool IsExternalPepperPlugin(const std::string& module_name) override;
132 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( 132 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
133 blink::WebSpeechSynthesizerClient* client) override; 133 blink::WebSpeechSynthesizerClient* client) override;
134 bool ShouldReportDetailedMessageForSource( 134 bool ShouldReportDetailedMessageForSource(
135 const base::string16& source) const override; 135 const base::string16& source) const override;
136 bool ShouldEnableSiteIsolationPolicy() const override; 136 bool ShouldGatherSiteIsolationStats() const override;
137 blink::WebWorkerContentSettingsClientProxy* 137 blink::WebWorkerContentSettingsClientProxy*
138 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, 138 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame,
139 blink::WebFrame* frame) override; 139 blink::WebFrame* frame) override;
140 bool AllowPepperMediaStreamAPI(const GURL& url) override; 140 bool AllowPepperMediaStreamAPI(const GURL& url) override;
141 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; 141 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override;
142 bool IsPluginAllowedToUseDevChannelAPIs() override; 142 bool IsPluginAllowedToUseDevChannelAPIs() override;
143 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; 143 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override;
144 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 144 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
145 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 145 content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
146 content::RenderFrame* render_frame, 146 content::RenderFrame* render_frame,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 #if defined(ENABLE_PRINT_PREVIEW) 245 #if defined(ENABLE_PRINT_PREVIEW)
246 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 246 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
247 #endif 247 #endif
248 #if defined(ENABLE_PLUGINS) 248 #if defined(ENABLE_PLUGINS)
249 std::set<std::string> allowed_camera_device_origins_; 249 std::set<std::string> allowed_camera_device_origins_;
250 std::set<std::string> allowed_compositor_origins_; 250 std::set<std::string> allowed_compositor_origins_;
251 #endif 251 #endif
252 }; 252 };
253 253
254 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 254 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698