Index: ui/base/ime/remote_input_method_win.h |
diff --git a/ui/base/ime/remote_input_method_win.h b/ui/base/ime/remote_input_method_win.h |
index 1c8a4d683b330227d6f268104d555ff6721da407..9eec681c5347cdcb6845d57ef668dee6e642316d 100644 |
--- a/ui/base/ime/remote_input_method_win.h |
+++ b/ui/base/ime/remote_input_method_win.h |
@@ -13,6 +13,7 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "ui/base/ui_export.h" |
+#include "ui/gfx/native_widget_types.h" |
namespace ui { |
namespace internal { |
@@ -34,6 +35,9 @@ class InputMethod; |
// RemoteInputMethodPrivateWin::OnInputSourceChanged accordingly so that |
// the state cache should be updated. |
+// Returns true if |widget| requires RemoteInputMethodWin. |
+bool IsRemoteInputMethodWinRequired(gfx::AcceleratedWidget widget); |
+ |
// Returns the public interface of RemoteInputMethodWin. |
// Caveats: Currently only one instance of RemoteInputMethodWin is able to run |
// at the same time. |