OLD | NEW |
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void DeferMediaLoad(content::RenderFrame* render_frame, | 107 void DeferMediaLoad(content::RenderFrame* render_frame, |
108 const base::Closure& closure) override; | 108 const base::Closure& closure) override; |
109 bool RunIdleHandlerWhenWidgetsHidden() override; | 109 bool RunIdleHandlerWhenWidgetsHidden() override; |
110 bool AllowPopup() override; | 110 bool AllowPopup() override; |
111 bool ShouldFork(blink::WebFrame* frame, | 111 bool ShouldFork(blink::WebFrame* frame, |
112 const GURL& url, | 112 const GURL& url, |
113 const std::string& http_method, | 113 const std::string& http_method, |
114 bool is_initial_navigation, | 114 bool is_initial_navigation, |
115 bool is_server_redirect, | 115 bool is_server_redirect, |
116 bool* send_referrer) override; | 116 bool* send_referrer) override; |
| 117 #if defined(ENABLE_EXTENSIONS) |
| 118 bool ShouldForwardToGuestContainer(const IPC::Message& msg) override; |
| 119 #endif |
117 bool WillSendRequest(blink::WebFrame* frame, | 120 bool WillSendRequest(blink::WebFrame* frame, |
118 ui::PageTransition transition_type, | 121 ui::PageTransition transition_type, |
119 const GURL& url, | 122 const GURL& url, |
120 const GURL& first_party_for_cookies, | 123 const GURL& first_party_for_cookies, |
121 GURL* new_url) override; | 124 GURL* new_url) override; |
122 void DidCreateScriptContext(blink::WebFrame* frame, | 125 void DidCreateScriptContext(blink::WebFrame* frame, |
123 v8::Handle<v8::Context> context, | 126 v8::Handle<v8::Context> context, |
124 int extension_group, | 127 int extension_group, |
125 int world_id) override; | 128 int world_id) override; |
126 unsigned long long VisitedLinkHash(const char* canonical_url, | 129 unsigned long long VisitedLinkHash(const char* canonical_url, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 #if defined(ENABLE_PRINT_PREVIEW) | 241 #if defined(ENABLE_PRINT_PREVIEW) |
239 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 242 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
240 #endif | 243 #endif |
241 #if defined(ENABLE_PLUGINS) | 244 #if defined(ENABLE_PLUGINS) |
242 std::set<std::string> allowed_compositor_origins_; | 245 std::set<std::string> allowed_compositor_origins_; |
243 std::set<std::string> allowed_video_decode_origins_; | 246 std::set<std::string> allowed_video_decode_origins_; |
244 #endif | 247 #endif |
245 }; | 248 }; |
246 | 249 |
247 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 250 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |