| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 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 UI_VIEWS_WIDGET_DESKTOP_KEYBOARD_CAPTURE_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_KEYBOARD_CAPTURE_WIN_H_ |
| 7 |
| 8 #include "ui/gfx/native_widget_types.h" |
| 9 #include "ui/views/views_export.h" |
| 10 |
| 11 namespace views { |
| 12 // This class maintains registration of keyboard hooks and routing the low level |
| 13 // callback. |
| 14 class VIEWS_EXPORT DesktopKeyboardCaptureWin { |
| 15 public: |
| 16 explicit DesktopKeyboardCaptureWin(HWND window_handle); |
| 17 ~DesktopKeyboardCaptureWin(); |
| 18 |
| 19 private: |
| 20 HWND window_handle_; |
| 21 |
| 22 DISALLOW_COPY_AND_ASSIGN(DesktopKeyboardCaptureWin); |
| 23 }; |
| 24 } |
| 25 |
| 26 #endif // UI_VIEWS_WIDGET_DESKTOP_KEYBOARD_CAPTURE_WIN_H_ |
| OLD | NEW |