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

Side by Side Diff: ui/ozone/platform/cast/gpu_platform_support_cast.cc

Issue 1249313004: Remove GPU relinquish resources infrastructure and stop GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove gpu_crash_recorded_. Created 5 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/ozone/platform/cast/gpu_platform_support_cast.h" 5 #include "ui/ozone/platform/cast/gpu_platform_support_cast.h"
6 6
7 #include "ui/ozone/platform/cast/surface_factory_cast.h" 7 #include "ui/ozone/platform/cast/surface_factory_cast.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
11 bool GpuPlatformSupportCast::OnMessageReceived(const IPC::Message& msg) { 11 bool GpuPlatformSupportCast::OnMessageReceived(const IPC::Message& msg) {
12 return false; 12 return false;
13 } 13 }
14 14
15 void GpuPlatformSupportCast::RelinquishGpuResources(
16 const base::Closure& callback) {
17 parent_->SetToRelinquishDisplay(callback);
18 }
19
20 IPC::MessageFilter* GpuPlatformSupportCast::GetMessageFilter() { 15 IPC::MessageFilter* GpuPlatformSupportCast::GetMessageFilter() {
21 return nullptr; 16 return nullptr;
22 } 17 }
23 18
24 } // namespace ui 19 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/cast/gpu_platform_support_cast.h ('k') | ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698