Index: ui/base/ime/input_method_tsf.h |
diff --git a/ui/base/ime/input_method_tsf.h b/ui/base/ime/input_method_tsf.h |
index 8935f4440e5a6e55ad627a7f7c55a961e2caff65..4847c7481d3a927053e4d921037241839ec101b5 100644 |
--- a/ui/base/ime/input_method_tsf.h |
+++ b/ui/base/ime/input_method_tsf.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2013 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. |
@@ -39,6 +39,10 @@ class UI_EXPORT InputMethodTSF : public InputMethodWin { |
// Asks the client to confirm current composition text. |
void ConfirmCompositionText(); |
+ // Returns true if the Win32 native window bound to |client| has Win32 input |
+ // focus. |
+ bool IsWindowFocused(const TextInputClient* client) const; |
+ |
DISALLOW_COPY_AND_ASSIGN(InputMethodTSF); |
}; |