| Index: ui/views/widget/desktop_aura/desktop_keyboard_capture_win.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_keyboard_capture_win.h b/ui/views/widget/desktop_aura/desktop_keyboard_capture_win.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72e6b62b715842b7a905070ef193cd44ab2f31c7
|
| --- /dev/null
|
| +++ b/ui/views/widget/desktop_aura/desktop_keyboard_capture_win.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_VIEWS_WIDGET_DESKTOP_KEYBOARD_CAPTURE_WIN_H_
|
| +#define UI_VIEWS_WIDGET_DESKTOP_KEYBOARD_CAPTURE_WIN_H_
|
| +
|
| +#include "ui/gfx/native_widget_types.h"
|
| +#include "ui/views/views_export.h"
|
| +
|
| +namespace views {
|
| +// This class maintains registration of keyboard hooks and routing the low level
|
| +// callback.
|
| +class VIEWS_EXPORT DesktopKeyboardCaptureWin {
|
| + public:
|
| + explicit DesktopKeyboardCaptureWin(HWND window_handle);
|
| + ~DesktopKeyboardCaptureWin();
|
| +
|
| + private:
|
| + HWND window_handle_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(DesktopKeyboardCaptureWin);
|
| +};
|
| +}
|
| +
|
| +#endif // UI_VIEWS_WIDGET_DESKTOP_KEYBOARD_CAPTURE_WIN_H_
|
|
|