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

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

Issue 1161483004: Move guest view container message routing out of content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ChromeGVCDispatcher + sync 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 25 matching lines...) Expand all
36 } 36 }
37 37
38 namespace network_hints { 38 namespace network_hints {
39 class PrescientNetworkingDispatcher; 39 class PrescientNetworkingDispatcher;
40 } 40 }
41 41
42 namespace extensions { 42 namespace extensions {
43 class Dispatcher; 43 class Dispatcher;
44 class Extension; 44 class Extension;
45 class ExtensionSet; 45 class ExtensionSet;
46 class ExtensionsGuestViewContainerDispatcher;
46 class RendererPermissionsPolicyDelegate; 47 class RendererPermissionsPolicyDelegate;
47 } 48 }
48 49
49 namespace prerender { 50 namespace prerender {
50 class PrerenderDispatcher; 51 class PrerenderDispatcher;
51 } 52 }
52 53
53 namespace safe_browsing { 54 namespace safe_browsing {
54 class PhishingClassifierFilter; 55 class PhishingClassifierFilter;
55 } 56 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void DeferMediaLoad(content::RenderFrame* render_frame, 108 void DeferMediaLoad(content::RenderFrame* render_frame,
108 const base::Closure& closure) override; 109 const base::Closure& closure) override;
109 bool RunIdleHandlerWhenWidgetsHidden() override; 110 bool RunIdleHandlerWhenWidgetsHidden() override;
110 bool AllowPopup() override; 111 bool AllowPopup() override;
111 bool ShouldFork(blink::WebFrame* frame, 112 bool ShouldFork(blink::WebFrame* frame,
112 const GURL& url, 113 const GURL& url,
113 const std::string& http_method, 114 const std::string& http_method,
114 bool is_initial_navigation, 115 bool is_initial_navigation,
115 bool is_server_redirect, 116 bool is_server_redirect,
116 bool* send_referrer) override; 117 bool* send_referrer) override;
117 bool ShouldForwardToGuestContainer(const IPC::Message& msg) override;
118 bool WillSendRequest(blink::WebFrame* frame, 118 bool WillSendRequest(blink::WebFrame* frame,
119 ui::PageTransition transition_type, 119 ui::PageTransition transition_type,
120 const GURL& url, 120 const GURL& url,
121 const GURL& first_party_for_cookies, 121 const GURL& first_party_for_cookies,
122 GURL* new_url) override; 122 GURL* new_url) override;
123 unsigned long long VisitedLinkHash(const char* canonical_url, 123 unsigned long long VisitedLinkHash(const char* canonical_url,
124 size_t length) override; 124 size_t length) override;
125 bool IsLinkVisited(unsigned long long link_hash) override; 125 bool IsLinkVisited(unsigned long long link_hash) override;
126 blink::WebPrescientNetworking* GetPrescientNetworking() override; 126 blink::WebPrescientNetworking* GetPrescientNetworking() override;
127 bool ShouldOverridePageVisibilityState( 127 bool ShouldOverridePageVisibilityState(
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_; 217 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_;
218 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_; 218 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
219 219
220 // TODO(thestig): Extract into a separate file if possible. Cleanup 220 // TODO(thestig): Extract into a separate file if possible. Cleanup
221 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. 221 // ENABLE_EXTENSIONS ifdefs in the .cc file as well.
222 #if defined(ENABLE_EXTENSIONS) 222 #if defined(ENABLE_EXTENSIONS)
223 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; 223 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_;
224 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; 224 scoped_ptr<extensions::Dispatcher> extension_dispatcher_;
225 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> 225 scoped_ptr<extensions::RendererPermissionsPolicyDelegate>
226 permissions_policy_delegate_; 226 permissions_policy_delegate_;
227 scoped_ptr<extensions::ExtensionsGuestViewContainerDispatcher>
228 guest_view_container_dispatcher_;
227 #endif 229 #endif
228 230
229 scoped_ptr<network_hints::PrescientNetworkingDispatcher> 231 scoped_ptr<network_hints::PrescientNetworkingDispatcher>
230 prescient_networking_dispatcher_; 232 prescient_networking_dispatcher_;
231 scoped_ptr<password_manager::CredentialManagerClient> 233 scoped_ptr<password_manager::CredentialManagerClient>
232 credential_manager_client_; 234 credential_manager_client_;
233 #if defined(ENABLE_SPELLCHECK) 235 #if defined(ENABLE_SPELLCHECK)
234 scoped_ptr<SpellCheck> spellcheck_; 236 scoped_ptr<SpellCheck> spellcheck_;
235 #endif 237 #endif
236 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 238 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
237 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 239 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
238 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 240 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
239 #if defined(ENABLE_WEBRTC) 241 #if defined(ENABLE_WEBRTC)
240 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 242 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
241 #endif 243 #endif
242 scoped_ptr<SearchBouncer> search_bouncer_; 244 scoped_ptr<SearchBouncer> search_bouncer_;
243 #if defined(ENABLE_PRINT_PREVIEW) 245 #if defined(ENABLE_PRINT_PREVIEW)
244 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 246 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
245 #endif 247 #endif
246 #if defined(ENABLE_PLUGINS) 248 #if defined(ENABLE_PLUGINS)
247 std::set<std::string> allowed_camera_device_origins_; 249 std::set<std::string> allowed_camera_device_origins_;
248 std::set<std::string> allowed_compositor_origins_; 250 std::set<std::string> allowed_compositor_origins_;
249 #endif 251 #endif
250 }; 252 };
251 253
252 #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