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

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

Issue 346263006: Pepper: Narrow dev channel whitelisting behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 blink::WebSpeechSynthesizerClient* client) OVERRIDE; 122 blink::WebSpeechSynthesizerClient* client) OVERRIDE;
123 virtual bool ShouldReportDetailedMessageForSource( 123 virtual bool ShouldReportDetailedMessageForSource(
124 const base::string16& source) const OVERRIDE; 124 const base::string16& source) const OVERRIDE;
125 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; 125 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE;
126 virtual blink::WebWorkerPermissionClientProxy* 126 virtual blink::WebWorkerPermissionClientProxy*
127 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, 127 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame,
128 blink::WebFrame* frame) OVERRIDE; 128 blink::WebFrame* frame) OVERRIDE;
129 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; 129 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE;
130 virtual void AddKeySystems( 130 virtual void AddKeySystems(
131 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; 131 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE;
132 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE;
133 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE;
134 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE;
132 135
133 // Takes ownership. 136 // Takes ownership.
134 void SetExtensionDispatcherForTest( 137 void SetExtensionDispatcherForTest(
135 extensions::Dispatcher* extension_dispatcher); 138 extensions::Dispatcher* extension_dispatcher);
136 extensions::Dispatcher* GetExtensionDispatcherForTest(); 139 extensions::Dispatcher* GetExtensionDispatcherForTest();
137 140
138 #if defined(ENABLE_SPELLCHECK) 141 #if defined(ENABLE_SPELLCHECK)
139 // Sets a new |spellcheck|. Used for testing only. 142 // Sets a new |spellcheck|. Used for testing only.
140 // Takes ownership of |spellcheck|. 143 // Takes ownership of |spellcheck|.
141 void SetSpellcheck(SpellCheck* spellcheck); 144 void SetSpellcheck(SpellCheck* spellcheck);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 #if defined(ENABLE_SPELLCHECK) 194 #if defined(ENABLE_SPELLCHECK)
192 scoped_ptr<SpellCheck> spellcheck_; 195 scoped_ptr<SpellCheck> spellcheck_;
193 #endif 196 #endif
194 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 197 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
195 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 198 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
196 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 199 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
197 #if defined(ENABLE_WEBRTC) 200 #if defined(ENABLE_WEBRTC)
198 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 201 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
199 #endif 202 #endif
200 scoped_ptr<SearchBouncer> search_bouncer_; 203 scoped_ptr<SearchBouncer> search_bouncer_;
204 #if defined(ENABLE_PLUGINS)
205 std::set<std::string> allowed_compositor_origins_;
206 std::set<std::string> allowed_video_decode_origins_;
207 #endif
201 }; 208 };
202 209
203 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 210 #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