Chromium Code Reviews| 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..75486967c69521d757a05cebfc9e4be536d213ac 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_; |
|
oshima
2015/10/29 23:38:43
you may initialize inline. (= false)
afakhry
2015/10/30 05:18:03
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(ScopedDisableInternalMouseAndKeyboardOzone); |
| }; |