diff options
author | thakis <thakis@chromium.org> | 2015-04-30 19:49:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-01 02:50:57 +0000 |
commit | 9d2ba75cedbc180aa019b25c05ff39c5df6ca04b (patch) | |
tree | ab30544ee88f83a7af6f83812634dcef78ddcb3b /ui/accessibility | |
parent | c03e665e34982fe98f197a4a0b589f62192087ed (diff) | |
download | chromium_src-9d2ba75cedbc180aa019b25c05ff39c5df6ca04b.zip chromium_src-9d2ba75cedbc180aa019b25c05ff39c5df6ca04b.tar.gz chromium_src-9d2ba75cedbc180aa019b25c05ff39c5df6ca04b.tar.bz2 |
win: Work on reducing number of style plugin warnings.
BUG=467287
Review URL: https://codereview.chromium.org/1121633002
Cr-Commit-Position: refs/heads/master@{#327867}
Diffstat (limited to 'ui/accessibility')
-rw-r--r-- | ui/accessibility/platform/ax_platform_node_win.cc | 117 | ||||
-rw-r--r-- | ui/accessibility/platform/ax_platform_node_win.h | 90 |
2 files changed, 141 insertions, 66 deletions
diff --git a/ui/accessibility/platform/ax_platform_node_win.cc b/ui/accessibility/platform/ax_platform_node_win.cc index 8e980e8..2656a1c 100644 --- a/ui/accessibility/platform/ax_platform_node_win.cc +++ b/ui/accessibility/platform/ax_platform_node_win.cc @@ -582,6 +582,68 @@ STDMETHODIMP AXPlatformNodeWin::get_indexInParent(LONG* index_in_parent) { } // +// IAccessible2 methods not implemented. +// + +STDMETHODIMP AXPlatformNodeWin::get_attribute(BSTR name, VARIANT* attribute) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_extendedRole(BSTR* extended_role) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_nRelations(LONG* n_relations) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_relation(LONG relation_index, + IAccessibleRelation** relation) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_relations(LONG max_relations, + IAccessibleRelation** relations, + LONG* n_relations) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::scrollTo(enum IA2ScrollType scroll_type) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::scrollToPoint( + enum IA2CoordinateType coordinate_type, + LONG x, + LONG y) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_groupPosition(LONG* group_level, + LONG* similar_items_in_group, + LONG* position_in_group) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_localizedExtendedRole( + BSTR* localized_extended_role) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_nExtendedStates(LONG* n_extended_states) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_extendedStates(LONG max_extended_states, + BSTR** extended_states, + LONG* n_extended_states) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_localizedExtendedStates( + LONG max_localized_extended_states, + BSTR** localized_extended_states, + LONG* n_localized_extended_states) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_locale(IA2Locale* locale) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_accessibleWithCaret(IUnknown** accessible, + long* caret_offset) { + return E_NOTIMPL; +} + +// // IAccessibleText // @@ -751,6 +813,61 @@ STDMETHODIMP AXPlatformNodeWin::get_offsetAtPoint( } // +// IAccessibleText methods not implemented. +// + +STDMETHODIMP AXPlatformNodeWin::get_newText(IA2TextSegment* new_text) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_oldText(IA2TextSegment* old_text) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::addSelection(LONG start_offset, + LONG end_offset) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_attributes(LONG offset, + LONG* start_offset, + LONG* end_offset, + BSTR* text_attributes) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::get_characterExtents( + LONG offset, + enum IA2CoordinateType coord_type, + LONG* x, + LONG* y, + LONG* width, + LONG* height) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::removeSelection(LONG selection_index) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::setCaretOffset(LONG offset) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::setSelection(LONG selection_index, + LONG start_offset, + LONG end_offset) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::scrollSubstringTo( + LONG start_index, + LONG end_index, + enum IA2ScrollType scroll_type) { + return E_NOTIMPL; +} +STDMETHODIMP AXPlatformNodeWin::scrollSubstringToPoint( + LONG start_index, + LONG end_index, + enum IA2CoordinateType coordinate_type, + LONG x, + LONG y) { + return E_NOTIMPL; +} + +// // IServiceProvider implementation. // diff --git a/ui/accessibility/platform/ax_platform_node_win.h b/ui/accessibility/platform/ax_platform_node_win.h index 31ca0b2..5d26421 100644 --- a/ui/accessibility/platform/ax_platform_node_win.h +++ b/ui/accessibility/platform/ax_platform_node_win.h @@ -137,58 +137,34 @@ AXPlatformNodeWin // IAccessible2 methods not implemented. // - STDMETHODIMP get_attribute(BSTR name, VARIANT* attribute) override { - return E_NOTIMPL; - } - STDMETHODIMP get_extendedRole(BSTR* extended_role) override { - return E_NOTIMPL; - } - STDMETHODIMP get_nRelations(LONG* n_relations) override { return E_NOTIMPL; } + STDMETHODIMP get_attribute(BSTR name, VARIANT* attribute) override; + STDMETHODIMP get_extendedRole(BSTR* extended_role) override; + STDMETHODIMP get_nRelations(LONG* n_relations) override; STDMETHODIMP get_relation(LONG relation_index, - IAccessibleRelation** relation) override { - return E_NOTIMPL; - } + IAccessibleRelation** relation) override; STDMETHODIMP get_relations(LONG max_relations, IAccessibleRelation** relations, - LONG* n_relations) override { - return E_NOTIMPL; - } - STDMETHODIMP scrollTo(enum IA2ScrollType scroll_type) override { - return E_NOTIMPL; - } + LONG* n_relations) override; + STDMETHODIMP scrollTo(enum IA2ScrollType scroll_type) override; STDMETHODIMP scrollToPoint(enum IA2CoordinateType coordinate_type, LONG x, - LONG y) override { - return E_NOTIMPL; - } + LONG y) override; STDMETHODIMP get_groupPosition(LONG* group_level, LONG* similar_items_in_group, - LONG* position_in_group) override { - return E_NOTIMPL; - } + LONG* position_in_group) override; STDMETHODIMP get_localizedExtendedRole( - BSTR* localized_extended_role) override { - return E_NOTIMPL; - } - STDMETHODIMP get_nExtendedStates(LONG* n_extended_states) override { - return E_NOTIMPL; - } + BSTR* localized_extended_role) override; + STDMETHODIMP get_nExtendedStates(LONG* n_extended_states) override; STDMETHODIMP get_extendedStates(LONG max_extended_states, BSTR** extended_states, - LONG* n_extended_states) override { - return E_NOTIMPL; - } + LONG* n_extended_states) override; STDMETHODIMP get_localizedExtendedStates( LONG max_localized_extended_states, BSTR** localized_extended_states, - LONG* n_localized_extended_states) override { - return E_NOTIMPL; - } - STDMETHODIMP get_locale(IA2Locale* locale) override { return E_NOTIMPL; } + LONG* n_localized_extended_states) override; + STDMETHODIMP get_locale(IA2Locale* locale) override; STDMETHODIMP get_accessibleWithCaret(IUnknown** accessible, - long* caret_offset) override { - return E_NOTIMPL; - } + long* caret_offset) override; // // IAccessibleText methods. @@ -235,50 +211,32 @@ AXPlatformNodeWin // IAccessibleText methods not implemented. // - STDMETHODIMP get_newText(IA2TextSegment* new_text) override { - return E_NOTIMPL; - } - STDMETHODIMP get_oldText(IA2TextSegment* old_text) override { - return E_NOTIMPL; - } - STDMETHODIMP addSelection(LONG start_offset, LONG end_offset) override { - return E_NOTIMPL; - } + STDMETHODIMP get_newText(IA2TextSegment* new_text) override; + STDMETHODIMP get_oldText(IA2TextSegment* old_text) override; + STDMETHODIMP addSelection(LONG start_offset, LONG end_offset) override; STDMETHODIMP get_attributes(LONG offset, LONG* start_offset, LONG* end_offset, - BSTR* text_attributes) override { - return E_NOTIMPL; - } + BSTR* text_attributes) override; STDMETHODIMP get_characterExtents(LONG offset, enum IA2CoordinateType coord_type, LONG* x, LONG* y, LONG* width, - LONG* height) override { - return E_NOTIMPL; - } - STDMETHODIMP removeSelection(LONG selection_index) override { - return E_NOTIMPL; - } - STDMETHODIMP setCaretOffset(LONG offset) override { return E_NOTIMPL; } + LONG* height) override; + STDMETHODIMP removeSelection(LONG selection_index) override; + STDMETHODIMP setCaretOffset(LONG offset) override; STDMETHODIMP setSelection(LONG selection_index, LONG start_offset, - LONG end_offset) override { - return E_NOTIMPL; - } + LONG end_offset) override; STDMETHODIMP scrollSubstringTo(LONG start_index, LONG end_index, - enum IA2ScrollType scroll_type) override { - return E_NOTIMPL; - } + enum IA2ScrollType scroll_type) override; STDMETHODIMP scrollSubstringToPoint(LONG start_index, LONG end_index, enum IA2CoordinateType coordinate_type, LONG x, - LONG y) override { - return E_NOTIMPL; - } + LONG y) override; // // IServiceProvider methods. |