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 "extensions/shell/renderer/shell_content_renderer_client.h" | 5 #include "extensions/shell/renderer/shell_content_renderer_client.h" |
6 | 6 |
7 #include "content/public/renderer/render_frame.h" | 7 #include "content/public/renderer/render_frame.h" |
8 #include "content/public/renderer/render_frame_observer.h" | 8 #include "content/public/renderer/render_frame_observer.h" |
9 #include "content/public/renderer/render_frame_observer_tracker.h" | 9 #include "content/public/renderer/render_frame_observer_tracker.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 #include "extensions/renderer/dispatcher.h" | 12 #include "extensions/renderer/dispatcher.h" |
13 #include "extensions/renderer/extension_helper.h" | 13 #include "extensions/renderer/extension_helper.h" |
14 #include "extensions/shell/common/shell_extensions_client.h" | 14 #include "extensions/shell/common/shell_extensions_client.h" |
15 #include "extensions/shell/renderer/shell_dispatcher_delegate.h" | 15 #include "extensions/shell/renderer/shell_dispatcher_delegate.h" |
16 #include "extensions/shell/renderer/shell_extensions_renderer_client.h" | 16 #include "extensions/shell/renderer/shell_extensions_renderer_client.h" |
17 | 17 |
18 #if !defined(DISABLE_NACL) | 18 #if !defined(DISABLE_NACL) |
19 #include "components/nacl/common/nacl_constants.h" | 19 #include "components/nacl/common/nacl_constants.h" |
20 #include "components/nacl/renderer/nacl_helper.h" | 20 #include "components/nacl/renderer/nacl_helper.h" |
21 #include "components/nacl/renderer/ppb_nacl_private_impl.h" | 21 #include "components/nacl/renderer/ppb_nacl_private_impl.h" |
22 #include "ppapi/c/private/ppb_nacl_private.h" | 22 #include "ppapi/c/private/ppb_nacl_private.h" |
23 #endif | 23 #endif |
24 #include "third_party/WebKit/public/web/WebLocalFrame.h" | |
Charlie Reis
2014/09/10 01:11:02
nit: This should be up in the first block of inclu
mlamouri (slow - plz ping)
2014/09/10 10:39:17
Done.
| |
24 | 25 |
25 using blink::WebFrame; | 26 using blink::WebFrame; |
26 using blink::WebString; | 27 using blink::WebString; |
27 using content::RenderThread; | 28 using content::RenderThread; |
28 | 29 |
29 namespace extensions { | 30 namespace extensions { |
30 | 31 |
31 namespace { | 32 namespace { |
32 | 33 |
33 // TODO: promote ExtensionFrameHelper to a common place and share with this. | 34 // TODO: promote ExtensionFrameHelper to a common place and share with this. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
166 return false; | 167 return false; |
167 #endif | 168 #endif |
168 } | 169 } |
169 | 170 |
170 bool ShellContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 171 bool ShellContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
171 // Extension renderers don't need site isolation. | 172 // Extension renderers don't need site isolation. |
172 return false; | 173 return false; |
173 } | 174 } |
174 | 175 |
175 } // namespace extensions | 176 } // namespace extensions |
OLD | NEW |