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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 339793007: Revert of ozone: gpu: Add plumbing for platform-specific gpu messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/DEPS ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index 041908751f1d2094eb37c3ce80508154b6d30ba9..54c1626b6c9cb3921a6f05dbefc64b73bc08e107 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -20,11 +20,6 @@
#include "content/common/gpu/gpu_messages.h"
#include "content/public/browser/browser_thread.h"
-#if defined(USE_OZONE)
-#include "ui/ozone/gpu/gpu_platform_support_host.h"
-#include "ui/ozone/ozone_platform.h"
-#endif
-
namespace content {
namespace {
@@ -95,11 +90,6 @@
GpuProcessHostUIShim::GpuProcessHostUIShim(int host_id)
: host_id_(host_id) {
g_hosts_by_id.Pointer()->AddWithID(this, host_id_);
-#if defined(USE_OZONE)
- ui::OzonePlatform::GetInstance()
- ->GetGpuPlatformSupportHost()
- ->OnChannelEstablished(host_id, this);
-#endif
}
// static
@@ -115,12 +105,6 @@
GpuDataManagerImpl::GetInstance()->AddLogMessage(
logging::LOG_ERROR, "GpuProcessHostUIShim",
message);
-
-#if defined(USE_OZONE)
- ui::OzonePlatform::GetInstance()
- ->GetGpuPlatformSupportHost()
- ->OnChannelDestroyed(host_id);
-#endif
delete FromID(host_id);
}
@@ -160,13 +144,6 @@
bool GpuProcessHostUIShim::OnMessageReceived(const IPC::Message& message) {
DCHECK(CalledOnValidThread());
-
-#if defined(USE_OZONE)
- if (ui::OzonePlatform::GetInstance()
- ->GetGpuPlatformSupportHost()
- ->OnMessageReceived(message))
- return true;
-#endif
if (message.routing_id() != MSG_ROUTING_CONTROL)
return false;
« no previous file with comments | « content/DEPS ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698