Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: content/browser/accessibility/browser_accessibility_com_win.h

Issue 2981053002: Remove methods from BrowserAccessibilityComWin which aren't needed. (Closed)
Patch Set: rebase Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_com_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_com_win.h
diff --git a/content/browser/accessibility/browser_accessibility_com_win.h b/content/browser/accessibility/browser_accessibility_com_win.h
index 6d3f37906b7f2027dc4d15efaa9759a0a027fdfe..545c6945d05e9b02ab6e3313ed42ac3333c16659 100644
--- a/content/browser/accessibility/browser_accessibility_com_win.h
+++ b/content/browser/accessibility/browser_accessibility_com_win.h
@@ -103,92 +103,14 @@ class __declspec(uuid("562072fe-3390-43b1-9e2c-dd4118f5ac79"))
// IAccessible methods.
//
- // Performs the default action on a given object.
- CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id) override;
-
- // Retrieves the child element or child object at a given point on the screen.
- CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left,
- LONG y_top,
- VARIANT* child) override;
-
- // Retrieves the specified object's current screen location.
- CONTENT_EXPORT STDMETHODIMP accLocation(LONG* x_left,
- LONG* y_top,
- LONG* width,
- LONG* height,
- VARIANT var_id) override;
-
- // Traverses to another UI element and retrieves the object.
- CONTENT_EXPORT STDMETHODIMP accNavigate(LONG nav_dir,
- VARIANT start,
- VARIANT* end) override;
-
- // Retrieves an IDispatch interface pointer for the specified child.
- CONTENT_EXPORT STDMETHODIMP get_accChild(VARIANT var_child,
- IDispatch** disp_child) override;
-
- // Retrieves the number of accessible children.
- CONTENT_EXPORT STDMETHODIMP get_accChildCount(LONG* child_count) override;
-
// Retrieves a string that describes the object's default action.
CONTENT_EXPORT STDMETHODIMP
get_accDefaultAction(VARIANT var_id, BSTR* default_action) override;
- // Retrieves the object's description.
- CONTENT_EXPORT STDMETHODIMP get_accDescription(VARIANT var_id,
- BSTR* desc) override;
-
- // Retrieves the object that has the keyboard focus.
- CONTENT_EXPORT STDMETHODIMP get_accFocus(VARIANT* focus_child) override;
-
- // Retrieves the help information associated with the object.
- CONTENT_EXPORT STDMETHODIMP get_accHelp(VARIANT var_id, BSTR* heflp) override;
-
- // Retrieves the specified object's shortcut.
- CONTENT_EXPORT STDMETHODIMP
- get_accKeyboardShortcut(VARIANT var_id, BSTR* access_key) override;
-
- // Retrieves the name of the specified object.
- CONTENT_EXPORT STDMETHODIMP get_accName(VARIANT var_id, BSTR* name) override;
-
- // Retrieves the IDispatch interface of the object's parent.
- CONTENT_EXPORT STDMETHODIMP get_accParent(IDispatch** disp_parent) override;
-
- // Retrieves information describing the role of the specified object.
- CONTENT_EXPORT STDMETHODIMP get_accRole(VARIANT var_id,
- VARIANT* role) override;
-
- // Retrieves the current state of the specified object.
- CONTENT_EXPORT STDMETHODIMP get_accState(VARIANT var_id,
- VARIANT* state) override;
-
- // Returns the value associated with the object.
- CONTENT_EXPORT STDMETHODIMP get_accValue(VARIANT var_id,
- BSTR* value) override;
-
- // Make an object take focus or extend the selection.
- CONTENT_EXPORT STDMETHODIMP accSelect(LONG flags_sel,
- VARIANT var_id) override;
-
- CONTENT_EXPORT STDMETHODIMP get_accHelpTopic(BSTR* help_file,
- VARIANT var_id,
- LONG* topic_id) override;
-
- CONTENT_EXPORT STDMETHODIMP get_accSelection(VARIANT* selected) override;
-
- // Deprecated methods, not implemented.
- CONTENT_EXPORT STDMETHODIMP put_accName(VARIANT var_id,
- BSTR put_name) override;
- CONTENT_EXPORT STDMETHODIMP put_accValue(VARIANT var_id,
- BSTR put_val) override;
-
//
// IAccessible2 methods.
//
- // Returns role from a longer list of possible roles.
- CONTENT_EXPORT STDMETHODIMP role(LONG* role) override;
-
// Returns the state bitmask from a larger set of possible states.
CONTENT_EXPORT STDMETHODIMP get_states(AccessibleStates* states) override;
@@ -231,22 +153,6 @@ class __declspec(uuid("562072fe-3390-43b1-9e2c-dd4118f5ac79"))
get_localizedExtendedRole(BSTR* localized_extended_role) override;
//
- // IAccessible2 methods not implemented.
- //
- CONTENT_EXPORT STDMETHODIMP get_extendedRole(BSTR* extended_role) override;
- CONTENT_EXPORT STDMETHODIMP
- get_nExtendedStates(LONG* n_extended_states) override;
- CONTENT_EXPORT STDMETHODIMP
- get_extendedStates(LONG max_extended_states,
- BSTR** extended_states,
- LONG* n_extended_states) override;
- CONTENT_EXPORT STDMETHODIMP
- get_localizedExtendedStates(LONG max_localized_extended_states,
- BSTR** localized_extended_states,
- LONG* n_localized_extended_states) override;
- CONTENT_EXPORT STDMETHODIMP get_locale(IA2Locale* locale) override;
-
- //
// IAccessibleApplication methods.
//
CONTENT_EXPORT STDMETHODIMP get_appName(BSTR* app_name) override;
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_com_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698