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

Unified Diff: ui/chromeos/touch_exploration_controller.h

Issue 2378773011: Only exclude workarea from touch-exploration with active shell-surface (Closed)
Patch Set: added comment Created 4 years, 2 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..92de1eaad5effcfa825c485a0ea801794793be10 100644
--- a/ui/chromeos/touch_exploration_controller.h
+++ b/ui/chromeos/touch_exploration_controller.h
@@ -189,6 +189,10 @@ class UI_CHROMEOS_EXPORT TouchExplorationController
// other than touch exploration.
void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point);
+ // Events within the exclude bounds will not be rewritten.
+ // |bounds| are in root window coordinates.
+ void SetExcludeBounds(const gfx::Rect& bounds);
+
private:
friend class TouchExplorationControllerTestApi;
@@ -500,6 +504,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