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

Unified Diff: components/exo/pointer.h

Issue 2933133002: exo: Select cursor capture scale at run time (Closed)
Patch Set: Address nits Created 3 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 | « no previous file | components/exo/pointer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer.h
diff --git a/components/exo/pointer.h b/components/exo/pointer.h
index 571743c818389d410750eadcd9ae89dd3e47ed55..74c5b976e3dc948c41eea5648e1903e966326810 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -111,6 +111,10 @@ class Pointer : public ui::EventHandler,
// The current cursor.
ui::Cursor cursor_;
+ // Scale at which cursor snapshot is captured. The resulting bitmap is scaled
+ // on displays whose DSF does not match this scale.
+ float capture_scale_;
+
// Source used for cursor capture copy output requests.
const base::UnguessableToken cursor_capture_source_id_;
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698