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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c13a24e01d31902d7b72af524c4ca74160467b8 |
--- /dev/null |
+++ b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
oshima
2015/01/13 23:16:37
nit: 2015
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ASH_WM_MAXIMIZE_MODE_SCOPED_DISABLE_INTERNAL_MOUSE_AND_KEYBOARD_OZONE_H_ |
+#define ASH_WM_MAXIMIZE_MODE_SCOPED_DISABLE_INTERNAL_MOUSE_AND_KEYBOARD_OZONE_H_ |
+ |
+#include "ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h" |
+#include "base/macros.h" |
+ |
+namespace ash { |
+ |
+// Disables the internal mouse and keyboard for the duration of the class' |
+// lifetime. |
+class ScopedDisableInternalMouseAndKeyboardOzone |
+ : public ScopedDisableInternalMouseAndKeyboard { |
+ public: |
+ ScopedDisableInternalMouseAndKeyboardOzone(); |
+ ~ScopedDisableInternalMouseAndKeyboardOzone() override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ScopedDisableInternalMouseAndKeyboardOzone); |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_WM_MAXIMIZE_MODE_SCOPED_DISABLE_INTERNAL_MOUSE_AND_KEYBOARD_OZONE_H_ |