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

Unified Diff: ui/chromeos/touch_exploration_controller.h

Issue 2378773011: Only exclude workarea from touch-exploration with active shell-surface (Closed)
Patch Set: CL comments Created 4 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
Index: ui/chromeos/touch_exploration_controller.h
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h
index da042d11e3fa135ea2078c4d86b8b7b259bc9ce3..15925186252e6804c11b1a243bc2df79e9b1af45 100644
--- a/ui/chromeos/touch_exploration_controller.h
+++ b/ui/chromeos/touch_exploration_controller.h
@@ -189,6 +189,8 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
// other than touch exploration.
void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point);
+ void SetExcludeBounds(const gfx::Rect& bounds);
+
private:
friend class TouchExplorationControllerTestApi;
@@ -500,6 +502,9 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
// This toggles whether VLOGS are turned on or not.
bool VLOG_on_;
+ // LocatedEvents within this area should be left alone.
+ gfx::Rect exclude_bounds_;
+
DISALLOW_COPY_AND_ASSIGN(TouchExplorationController);
};

Powered by Google App Engine
This is Rietveld 408576698