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

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 years, 6 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 (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 #include "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 #include "content/public/renderer/media_stream_renderer_factory.h" 7 #include "content/public/renderer/media_stream_renderer_factory.h"
8 #include "media/base/renderer_factory.h" 8 #include "media/base/renderer_factory.h"
9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h"
10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 const base::string16& source) const { 208 const base::string16& source) const {
209 return false; 209 return false;
210 } 210 }
211 211
212 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { 212 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const {
213 return true; 213 return true;
214 } 214 }
215 215
216 std::unique_ptr<blink::WebContentSettingsClient> 216 std::unique_ptr<blink::WebContentSettingsClient>
217 ContentRendererClient::CreateWorkerContentSettingsClient( 217 ContentRendererClient::CreateWorkerContentSettingsClient(
218 RenderFrame* render_frame, 218 RenderFrame* render_frame) {
219 blink::WebFrame* frame) {
220 return nullptr; 219 return nullptr;
221 } 220 }
222 221
223 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI( 222 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI(
224 const GURL& url) { 223 const GURL& url) {
225 return false; 224 return false;
226 } 225 }
227 226
228 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { 227 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) {
229 return false; 228 return false;
(...skipping 21 matching lines...) Expand all
251 std::unique_ptr<base::TaskScheduler::InitParams> 250 std::unique_ptr<base::TaskScheduler::InitParams>
252 ContentRendererClient::GetTaskSchedulerInitParams() { 251 ContentRendererClient::GetTaskSchedulerInitParams() {
253 return nullptr; 252 return nullptr;
254 } 253 }
255 254
256 bool ContentRendererClient::AllowMediaSuspend() { 255 bool ContentRendererClient::AllowMediaSuspend() {
257 return true; 256 return true;
258 } 257 }
259 258
260 } // namespace content 259 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698