diff options
Diffstat (limited to 'views/controls/textfield/native_textfield_wrapper.h')
-rw-r--r-- | views/controls/textfield/native_textfield_wrapper.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/controls/textfield/native_textfield_wrapper.h b/views/controls/textfield/native_textfield_wrapper.h index aa21d85..90321a9 100644 --- a/views/controls/textfield/native_textfield_wrapper.h +++ b/views/controls/textfield/native_textfield_wrapper.h @@ -1,6 +1,6 @@ -// Copyright (c) 2009 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. +// Copyright (c) 2010 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 VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ @@ -82,6 +82,9 @@ class NativeTextfieldWrapper { // Returns a handle to the underlying native view for testing. virtual gfx::NativeView GetTestingHandle() const = 0; + // Returns whether or not an IME is composing text. + virtual bool IsIMEComposing() const = 0; + // Creates an appropriate NativeTextfieldWrapper for the platform. static NativeTextfieldWrapper* CreateWrapper(Textfield* field); }; |