Index: ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h |
diff --git a/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h |
index 2376504fba25d696f250765d6c73d448d161e17c..6783fcb6d189874953cf00d5589c70bdefe674dd 100644 |
--- a/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h |
+++ b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h |
@@ -19,6 +19,10 @@ class ScopedDisableInternalMouseAndKeyboardOzone |
~ScopedDisableInternalMouseAndKeyboardOzone() override; |
private: |
+ // If the touch pad is already disabled we ignore re-enabling it in the |
+ // destructor. |
+ bool should_ignore_touch_pad_ = false; |
+ |
DISALLOW_COPY_AND_ASSIGN(ScopedDisableInternalMouseAndKeyboardOzone); |
}; |