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

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

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 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 | « chrome/renderer/DEPS ('k') | 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
19 #include "chrome/renderer/guest_view/chrome_guest_view_container_dispatcher.h"
19 #include "content/public/renderer/content_renderer_client.h" 20 #include "content/public/renderer/content_renderer_client.h"
20 #include "ipc/ipc_channel_proxy.h" 21 #include "ipc/ipc_channel_proxy.h"
21 #include "v8/include/v8.h" 22 #include "v8/include/v8.h"
22 23
23 class ChromeRenderProcessObserver; 24 class ChromeRenderProcessObserver;
24 #if defined(ENABLE_PRINT_PREVIEW) 25 #if defined(ENABLE_PRINT_PREVIEW)
25 class ChromePDFPrintClient; 26 class ChromePDFPrintClient;
26 #endif 27 #endif
27 class PrescientNetworkingDispatcher; 28 class PrescientNetworkingDispatcher;
28 #if defined(ENABLE_SPELLCHECK) 29 #if defined(ENABLE_SPELLCHECK)
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 blink::WebFrame* frame) override; 136 blink::WebFrame* frame) override;
136 bool AllowPepperMediaStreamAPI(const GURL& url) override; 137 bool AllowPepperMediaStreamAPI(const GURL& url) override;
137 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; 138 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override;
138 bool IsPluginAllowedToUseDevChannelAPIs() override; 139 bool IsPluginAllowedToUseDevChannelAPIs() override;
139 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; 140 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override;
140 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 141 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
141 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 142 content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
142 content::RenderFrame* render_frame, 143 content::RenderFrame* render_frame,
143 const std::string& mime_type, 144 const std::string& mime_type,
144 const GURL& original_url) override; 145 const GURL& original_url) override;
146 blink::WebFrameletClient* CreateFramelet(
147 content::RenderFrame* render_frame,
148 const GURL& url,
149 IPC::Sender* thread_safe_sender) override;
145 void RecordRappor(const std::string& metric, 150 void RecordRappor(const std::string& metric,
146 const std::string& sample) override; 151 const std::string& sample) override;
147 void RecordRapporURL(const std::string& metric, const GURL& url) override; 152 void RecordRapporURL(const std::string& metric, const GURL& url) override;
148 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( 153 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient(
149 content::RenderFrame* render_frame) override; 154 content::RenderFrame* render_frame) override;
150 void AddImageContextMenuProperties( 155 void AddImageContextMenuProperties(
151 const blink::WebURLResponse& response, 156 const blink::WebURLResponse& response,
152 std::map<std::string, std::string>* properties) override; 157 std::map<std::string, std::string>* properties) override;
153 void DidInitializeServiceWorkerContextOnWorkerThread( 158 void DidInitializeServiceWorkerContextOnWorkerThread(
154 v8::Local<v8::Context> context, 159 v8::Local<v8::Context> context,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_; 204 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
200 205
201 scoped_ptr<network_hints::PrescientNetworkingDispatcher> 206 scoped_ptr<network_hints::PrescientNetworkingDispatcher>
202 prescient_networking_dispatcher_; 207 prescient_networking_dispatcher_;
203 scoped_ptr<password_manager::CredentialManagerClient> 208 scoped_ptr<password_manager::CredentialManagerClient>
204 credential_manager_client_; 209 credential_manager_client_;
205 210
206 #if defined(ENABLE_SPELLCHECK) 211 #if defined(ENABLE_SPELLCHECK)
207 scoped_ptr<SpellCheck> spellcheck_; 212 scoped_ptr<SpellCheck> spellcheck_;
208 #endif 213 #endif
214 scoped_ptr<chrome::ChromeGuestViewContainerDispatcher>
215 guest_view_container_dispatcher_;
209 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 216 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
210 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 217 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
211 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 218 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
212 #if defined(ENABLE_WEBRTC) 219 #if defined(ENABLE_WEBRTC)
213 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 220 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
214 #endif 221 #endif
215 #if defined(ENABLE_PRINT_PREVIEW) 222 #if defined(ENABLE_PRINT_PREVIEW)
216 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 223 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
217 #endif 224 #endif
218 #if defined(ENABLE_PLUGINS) 225 #if defined(ENABLE_PLUGINS)
219 std::set<std::string> allowed_camera_device_origins_; 226 std::set<std::string> allowed_camera_device_origins_;
220 std::set<std::string> allowed_compositor_origins_; 227 std::set<std::string> allowed_compositor_origins_;
221 #endif 228 #endif
222 }; 229 };
223 230
224 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 231 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698