| Index: ui/base/win/accessibility_misc_utils.cc
|
| diff --git a/ui/base/win/accessibility_misc_utils.cc b/ui/base/win/accessibility_misc_utils.cc
|
| index 621048ffcd81aa0016c56c96ec12d4399c8bbc89..0f0b39906a3f5b6f1706cd53cc4e8bf16e37a2ca 100644
|
| --- a/ui/base/win/accessibility_misc_utils.cc
|
| +++ b/ui/base/win/accessibility_misc_utils.cc
|
| @@ -13,6 +13,9 @@ namespace win {
|
| UIATextProvider::UIATextProvider()
|
| : editable_(false) {}
|
|
|
| +UIATextProvider::~UIATextProvider() {
|
| +}
|
| +
|
| // static
|
| bool UIATextProvider::CreateTextProvider(const string16& value,
|
| bool editable,
|
| @@ -38,10 +41,49 @@ STDMETHODIMP UIATextProvider::get_IsReadOnly(BOOL* read_only) {
|
| return S_OK;
|
| }
|
|
|
| +//
|
| +// IValueProvider methods.
|
| +//
|
| +
|
| +STDMETHODIMP UIATextProvider::SetValue(const wchar_t* val) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| STDMETHODIMP UIATextProvider::get_Value(BSTR* value) {
|
| *value = SysAllocString(value_.c_str());
|
| return S_OK;
|
| }
|
|
|
| +//
|
| +// ITextProvider methods.
|
| +//
|
| +
|
| +STDMETHODIMP UIATextProvider::GetSelection(SAFEARRAY** ret) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| +STDMETHODIMP UIATextProvider::GetVisibleRanges(SAFEARRAY** ret) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| +STDMETHODIMP UIATextProvider::RangeFromChild(IRawElementProviderSimple* child,
|
| + ITextRangeProvider** ret) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| +STDMETHODIMP UIATextProvider::RangeFromPoint(struct UiaPoint point,
|
| + ITextRangeProvider** ret) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| +STDMETHODIMP UIATextProvider::get_DocumentRange(ITextRangeProvider** ret) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| +STDMETHODIMP UIATextProvider::get_SupportedTextSelection(
|
| + enum SupportedTextSelection* ret) {
|
| + return E_NOTIMPL;
|
| +}
|
| +
|
| } // namespace win
|
| } // namespace base
|
|
|