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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.cc

Issue 2746543004: Enable native accessible touch support inside of ARC (Closed)
Patch Set: Created 3 years, 9 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: ash/ash_touch_exploration_manager_chromeos.cc
diff --git a/ash/ash_touch_exploration_manager_chromeos.cc b/ash/ash_touch_exploration_manager_chromeos.cc
index 1cd1ccd0f65ae20dcacd00110b5150331e9f6695..d4dd97d54fc3e9cdae1d559cc395b62e591fad69 100644
--- a/ash/ash_touch_exploration_manager_chromeos.cc
+++ b/ash/ash_touch_exploration_manager_chromeos.cc
@@ -135,7 +135,10 @@ void AshTouchExplorationManager::UpdateTouchExplorationState() {
// See crbug.com/603745 for more details.
const bool pass_through_surface =
wm::GetActiveWindow() &&
- wm::GetActiveWindow()->GetName() == kExoShellSurfaceWindowName;
+ wm::GetActiveWindow()->GetName() == kExoShellSurfaceWindowName &&
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
reveman 2017/03/13 16:59:58 I think you also need to check that the shell surf
David Tseng 2017/03/16 20:00:37 I modified the check above (which indicates a pass
+ chromeos::switches::kEnableChromeVoxArcSupport);
+ ;
const bool spoken_feedback_enabled =
WmShell::Get()->accessibility_delegate()->IsSpokenFeedbackEnabled();
« 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