OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_ | 5 #ifndef BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_ |
6 #define BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_ | 6 #define BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <msctf.h> | 8 #include <msctf.h> |
9 #include <Windows.h> | 9 #include <Windows.h> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_pump_win.h" | 12 #include "base/message_loop/message_pump_win.h" |
13 #include "base/win/metro.h" | 13 #include "base/win/metro.h" |
14 #include "base/win/scoped_comptr.h" | 14 #include "base/win/scoped_comptr.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 namespace win { | 17 namespace win { |
18 | 18 |
19 // TextServicesMessageFilter extends MessageFilter with methods that are using | 19 // TextServicesMessageFilter extends MessageFilter with methods that are using |
20 // Text Services Framework COM component. | 20 // Text Services Framework COM component. |
21 class BASE_EXPORT TextServicesMessageFilter | 21 class BASE_EXPORT TextServicesMessageFilter |
22 : public base::MessagePumpForUI::MessageFilter { | 22 : public base::MessagePumpForUI::MessageFilter { |
(...skipping 16 matching lines...) Expand all Loading... |
39 base::win::ScopedComPtr<ITfMessagePump> message_pump_; | 39 base::win::ScopedComPtr<ITfMessagePump> message_pump_; |
40 base::win::ScopedComPtr<ITfKeystrokeMgr> keystroke_mgr_; | 40 base::win::ScopedComPtr<ITfKeystrokeMgr> keystroke_mgr_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(TextServicesMessageFilter); | 42 DISALLOW_COPY_AND_ASSIGN(TextServicesMessageFilter); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace win | 45 } // namespace win |
46 } // namespace base | 46 } // namespace base |
47 | 47 |
48 #endif // BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_ | 48 #endif // BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_ |
OLD | NEW |