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

Unified Diff: ui/ozone/platform/drm/host/drm_window_host.cc

Issue 1091323002: Send a message through the ozone channel to recreate buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « ui/ozone/platform/drm/host/drm_window_host.h ('k') | ui/platform_window/platform_window_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/host/drm_window_host.cc
diff --git a/ui/ozone/platform/drm/host/drm_window_host.cc b/ui/ozone/platform/drm/host/drm_window_host.cc
index 4bf338507ba84aa94dfe1088cf28678e5ac53292..b1fd7b5b5f8a5327bd426dc8622e88e6bf1b8183 100644
--- a/ui/ozone/platform/drm/host/drm_window_host.cc
+++ b/ui/ozone/platform/drm/host/drm_window_host.cc
@@ -188,4 +188,30 @@ void DrmWindowHost::SendBoundsChange() {
sender_->Send(new OzoneGpuMsg_WindowBoundsChanged(widget_, bounds_));
}
+bool DrmWindowHost::OnMessageReceived(const IPC::Message& message) {
+ bool handled = true;
+
+ IPC_BEGIN_MESSAGE_MAP(DrmWindowHost, message)
+ IPC_MESSAGE_HANDLER(OzoneHostMsg_WindowMappingChanged, OnWindowMappingChanged)
+ IPC_MESSAGE_UNHANDLED(handled = false)
+ IPC_END_MESSAGE_MAP()
+
+ return handled;
+}
+
+void DrmWindowHost::OnChannelEstablished(
+ int host_id,
+ scoped_refptr<base::SingleThreadTaskRunner> send_runner,
+ const base::Callback<void(IPC::Message*)>& send_callback) {
+}
+
+void DrmWindowHost::OnChannelDestroyed(int host_id) {
+}
+
+void DrmWindowHost::OnWindowMappingChanged(gfx::AcceleratedWidget widget) {
+ if (widget == widget_) {
+ ;
+ }
+}
+
} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.h ('k') | ui/platform_window/platform_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698