Chromium Code Reviews| 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(); |