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

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

Issue 577453002: Rename ChromeBrowserPluginDelegate to GuestViewContainer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 "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"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 #else 166 #else
167 return false; 167 return false;
168 #endif 168 #endif
169 } 169 }
170 170
171 bool ShellContentRendererClient::ShouldEnableSiteIsolationPolicy() const { 171 bool ShellContentRendererClient::ShouldEnableSiteIsolationPolicy() const {
172 // Extension renderers don't need site isolation. 172 // Extension renderers don't need site isolation.
173 return false; 173 return false;
174 } 174 }
175 175
176 content::BrowserPluginDelegate*
177 ChromeContentRendererClient::CreateBrowserPluginDelegate(
178 content::RenderFrame* render_frame,
179 const std::string& mime_type) {
180 return new GuestViewContainer(render_frame, mime_type);
181 }
182
176 } // namespace extensions 183 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698