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

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

Issue 701713003: Support embedded plugins with MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-guest-view-container
Patch Set: Created 6 years, 1 month 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 blink::WebWorkerPermissionClientProxy* CreateWorkerPermissionClientProxy( 133 blink::WebWorkerPermissionClientProxy* CreateWorkerPermissionClientProxy(
134 content::RenderFrame* render_frame, 134 content::RenderFrame* render_frame,
135 blink::WebFrame* frame) override; 135 blink::WebFrame* frame) override;
136 bool AllowPepperMediaStreamAPI(const GURL& url) override; 136 bool AllowPepperMediaStreamAPI(const GURL& url) override;
137 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; 137 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override;
138 bool IsPluginAllowedToUseDevChannelAPIs() override; 138 bool IsPluginAllowedToUseDevChannelAPIs() override;
139 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 139 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
140 bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override; 140 bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override;
141 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 141 content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
142 content::RenderFrame* render_frame, 142 content::RenderFrame* render_frame,
143 const std::string& mime_type) override; 143 const std::string& mime_type,
144 const GURL& original_url) override;
144 145
145 #if defined(ENABLE_EXTENSIONS) 146 #if defined(ENABLE_EXTENSIONS)
146 // Takes ownership. 147 // Takes ownership.
147 void SetExtensionDispatcherForTest( 148 void SetExtensionDispatcherForTest(
148 extensions::Dispatcher* extension_dispatcher); 149 extensions::Dispatcher* extension_dispatcher);
149 extensions::Dispatcher* GetExtensionDispatcherForTest(); 150 extensions::Dispatcher* GetExtensionDispatcherForTest();
150 #endif 151 #endif
151 152
152 #if defined(ENABLE_SPELLCHECK) 153 #if defined(ENABLE_SPELLCHECK)
153 // Sets a new |spellcheck|. Used for testing only. 154 // Sets a new |spellcheck|. Used for testing only.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 #if defined(ENABLE_FULL_PRINTING) 231 #if defined(ENABLE_FULL_PRINTING)
231 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 232 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
232 #endif 233 #endif
233 #if defined(ENABLE_PLUGINS) 234 #if defined(ENABLE_PLUGINS)
234 std::set<std::string> allowed_compositor_origins_; 235 std::set<std::string> allowed_compositor_origins_;
235 std::set<std::string> allowed_video_decode_origins_; 236 std::set<std::string> allowed_video_decode_origins_;
236 #endif 237 #endif
237 }; 238 };
238 239
239 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 240 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698