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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1468033002: Remove unused memory functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused functions from base/allocator Created 5 years 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/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 968
969 //------------------------------------------------------------------------------ 969 //------------------------------------------------------------------------------
970 970
971 blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer( 971 blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer(
972 blink::WebSpeechSynthesizerClient* client) { 972 blink::WebSpeechSynthesizerClient* client) {
973 return GetContentClient()->renderer()->OverrideSpeechSynthesizer(client); 973 return GetContentClient()->renderer()->OverrideSpeechSynthesizer(client);
974 } 974 }
975 975
976 //------------------------------------------------------------------------------ 976 //------------------------------------------------------------------------------
977 977
978 bool RendererBlinkPlatformImpl::processMemorySizesInBytes(
979 size_t* private_bytes,
980 size_t* shared_bytes) {
981 content::RenderThread::Get()->Send(
982 new RenderProcessHostMsg_GetProcessMemorySizes(
983 private_bytes, shared_bytes));
984 return true;
985 }
986
987 //------------------------------------------------------------------------------
988
989 blink::WebGraphicsContext3D* 978 blink::WebGraphicsContext3D*
990 RendererBlinkPlatformImpl::createOffscreenGraphicsContext3D( 979 RendererBlinkPlatformImpl::createOffscreenGraphicsContext3D(
991 const blink::WebGraphicsContext3D::Attributes& attributes) { 980 const blink::WebGraphicsContext3D::Attributes& attributes) {
992 return createOffscreenGraphicsContext3D(attributes, NULL); 981 return createOffscreenGraphicsContext3D(attributes, NULL);
993 } 982 }
994 983
995 blink::WebGraphicsContext3D* 984 blink::WebGraphicsContext3D*
996 RendererBlinkPlatformImpl::createOffscreenGraphicsContext3D( 985 RendererBlinkPlatformImpl::createOffscreenGraphicsContext3D(
997 const blink::WebGraphicsContext3D::Attributes& attributes, 986 const blink::WebGraphicsContext3D::Attributes& attributes,
998 blink::WebGraphicsContext3D* share_context) { 987 blink::WebGraphicsContext3D* share_context) {
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1313 //------------------------------------------------------------------------------ 1302 //------------------------------------------------------------------------------
1314 1303
1315 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting( 1304 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting(
1316 const blink::WebBatteryStatus& status) { 1305 const blink::WebBatteryStatus& status) {
1317 if (!g_test_battery_status_listener) 1306 if (!g_test_battery_status_listener)
1318 return; 1307 return;
1319 g_test_battery_status_listener->updateBatteryStatus(status); 1308 g_test_battery_status_listener->updateBatteryStatus(status);
1320 } 1309 }
1321 1310
1322 } // namespace content 1311 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | third_party/WebKit/public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698