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

Side by Side Diff: apps/shell/renderer/shell_content_renderer_client.cc

Issue 151893002: Reorganize apps/shell into app, browser and common directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (subdirs) Created 6 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 | Annotate | Revision Log
« no previous file with comments | « apps/shell/renderer/DEPS ('k') | apps/shell/shell_app_sorting.h » ('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 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
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
OLDNEW
« no previous file with comments | « apps/shell/renderer/DEPS ('k') | apps/shell/shell_app_sorting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698