Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: base/win/text_services_message_filter.h

Issue 141773009: Revert r151669 and r155589 as non-Aura Metro mode is gone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment from Nico Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/win/metro.cc ('k') | base/win/text_services_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/text_services_message_filter.h
diff --git a/base/win/text_services_message_filter.h b/base/win/text_services_message_filter.h
deleted file mode 100644
index 704c1da640b55d63cd62864196170b98f1bfedb4..0000000000000000000000000000000000000000
--- a/base/win/text_services_message_filter.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// 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 BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_
-#define BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_
-
-#include <msctf.h>
-#include <Windows.h>
-
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_pump_win.h"
-#include "base/win/metro.h"
-#include "base/win/scoped_comptr.h"
-
-namespace base {
-namespace win {
-
-// TextServicesMessageFilter extends MessageFilter with methods that are using
-// Text Services Framework COM component.
-class BASE_EXPORT TextServicesMessageFilter
- : public base::MessagePumpForUI::MessageFilter {
- public:
- TextServicesMessageFilter();
- virtual ~TextServicesMessageFilter();
- virtual BOOL DoPeekMessage(MSG* msg,
- HWND window_handle,
- UINT msg_filter_min,
- UINT msg_filter_max,
- UINT remove_msg) OVERRIDE;
- virtual bool ProcessMessage(const MSG& msg) OVERRIDE;
-
- bool Init();
-
- private:
- TfClientId client_id_;
- bool is_initialized_;
- base::win::ScopedComPtr<ITfThreadMgr> thread_mgr_;
- base::win::ScopedComPtr<ITfMessagePump> message_pump_;
- base::win::ScopedComPtr<ITfKeystrokeMgr> keystroke_mgr_;
-
- DISALLOW_COPY_AND_ASSIGN(TextServicesMessageFilter);
-};
-
-} // namespace win
-} // namespace base
-
-#endif // BASE_WIN_TEXT_SERVICES_MESSAGE_FILTER_H_
« no previous file with comments | « base/win/metro.cc ('k') | base/win/text_services_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698