Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
|
oshima
2015/01/13 23:16:37
nit: 2015
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_WM_MAXIMIZE_MODE_SCOPED_DISABLE_INTERNAL_MOUSE_AND_KEYBOARD_OZONE_H_ | |
| 6 #define ASH_WM_MAXIMIZE_MODE_SCOPED_DISABLE_INTERNAL_MOUSE_AND_KEYBOARD_OZONE_H_ | |
| 7 | |
| 8 #include "ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h" | |
| 9 #include "base/macros.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 // Disables the internal mouse and keyboard for the duration of the class' | |
| 14 // lifetime. | |
| 15 class ScopedDisableInternalMouseAndKeyboardOzone | |
| 16 : public ScopedDisableInternalMouseAndKeyboard { | |
| 17 public: | |
| 18 ScopedDisableInternalMouseAndKeyboardOzone(); | |
| 19 ~ScopedDisableInternalMouseAndKeyboardOzone() override; | |
| 20 | |
| 21 private: | |
| 22 DISALLOW_COPY_AND_ASSIGN(ScopedDisableInternalMouseAndKeyboardOzone); | |
| 23 }; | |
| 24 | |
| 25 } // namespace ash | |
| 26 | |
| 27 #endif // ASH_WM_MAXIMIZE_MODE_SCOPED_DISABLE_INTERNAL_MOUSE_AND_KEYBOARD_OZONE_ H_ | |
| OLD | NEW |