OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "apps/shell/renderer/shell_content_renderer_client.h" | 5 #include "apps/shell/renderer/shell_content_renderer_client.h" |
6 | 6 |
7 #include "apps/shell/shell_extensions_client.h" | 7 #include "apps/shell/common/shell_extensions_client.h" |
8 #include "chrome/renderer/extensions/dispatcher.h" | 8 #include "chrome/renderer/extensions/dispatcher.h" |
9 #include "chrome/renderer/extensions/extension_helper.h" | 9 #include "chrome/renderer/extensions/extension_helper.h" |
10 #include "content/public/renderer/render_thread.h" | 10 #include "content/public/renderer/render_thread.h" |
11 #include "extensions/common/extensions_client.h" | 11 #include "extensions/common/extensions_client.h" |
12 | 12 |
13 using blink::WebFrame; | 13 using blink::WebFrame; |
14 using blink::WebString; | 14 using blink::WebString; |
15 using content::RenderThread; | 15 using content::RenderThread; |
16 | 16 |
17 namespace apps { | 17 namespace apps { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 WebFrame* frame, v8::Handle<v8::Context> context, int world_id) { | 65 WebFrame* frame, v8::Handle<v8::Context> context, int world_id) { |
66 extension_dispatcher_->WillReleaseScriptContext(frame, context, world_id); | 66 extension_dispatcher_->WillReleaseScriptContext(frame, context, world_id); |
67 } | 67 } |
68 | 68 |
69 bool ShellContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 69 bool ShellContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
70 // Extension renderers don't need site isolation. | 70 // Extension renderers don't need site isolation. |
71 return false; | 71 return false; |
72 } | 72 } |
73 | 73 |
74 } // namespace apps | 74 } // namespace apps |
OLD | NEW |