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

Unified Diff: ui/ozone/platform/dri/dri_window_delegate_proxy.h

Issue 556073003: [Ozone-DRI] Do proper bounds checks when moving the cursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@restore-cursor
Patch Set: . Created 6 years, 3 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/dri/dri_window_delegate_manager.cc ('k') | ui/ozone/platform/dri/dri_window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_window_delegate_proxy.h
diff --git a/ui/ozone/platform/dri/dri_window_delegate_proxy.h b/ui/ozone/platform/dri/dri_window_delegate_proxy.h
index 9b3d204800b3dbbc1340debc5051f810986e43bb..ef95c4c58abadf30d377311dd206d05ea095dd90 100644
--- a/ui/ozone/platform/dri/dri_window_delegate_proxy.h
+++ b/ui/ozone/platform/dri/dri_window_delegate_proxy.h
@@ -35,7 +35,10 @@ class DriWindowDelegateProxy : public DriWindowDelegate,
private:
gfx::AcceleratedWidget widget_;
- GpuPlatformSupportHostGbm* sender_;
+ GpuPlatformSupportHostGbm* sender_; // Not owned.
+
+ // Cached state for the window. If the GPU process crashes, this state is used
+ // to update the GPU side when it comes back.
gfx::Rect bounds_;
DISALLOW_COPY_AND_ASSIGN(DriWindowDelegateProxy);
« no previous file with comments | « ui/ozone/platform/dri/dri_window_delegate_manager.cc ('k') | ui/ozone/platform/dri/dri_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698