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

Side by Side Diff: content/browser/accessibility/browser_accessibility_win.h

Issue 10837065: Revert 149510 - Allow filters in accessibility tests to specify which attributes to check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <oleacc.h> 10 #include <oleacc.h>
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 740
741 // 741 //
742 // CComObjectRootEx methods. 742 // CComObjectRootEx methods.
743 // 743 //
744 744
745 CONTENT_EXPORT HRESULT WINAPI InternalQueryInterface(void* this_ptr, 745 CONTENT_EXPORT HRESULT WINAPI InternalQueryInterface(void* this_ptr,
746 const _ATL_INTMAP_ENTRY* entries, 746 const _ATL_INTMAP_ENTRY* entries,
747 REFIID iid, 747 REFIID iid,
748 void** object); 748 void** object);
749 749
750 // Accessors. 750 // Accessors to IA2 role and state.
751 int32 ia_role() const { return ia_role_; } 751 int32 ia2_role() { return ia2_role_; }
752 int32 ia_state() const { return ia_state_; } 752 int32 ia2_state() { return ia2_state_; }
753 int32 ia2_role() const { return ia2_role_; }
754 int32 ia2_state() const { return ia2_state_; }
755 const std::vector<string16>& ia2_attributes() const {
756 return ia2_attributes_;\
757 }
758 753
759 private: 754 private:
760 // Add one to the reference count and return the same object. Always 755 // Add one to the reference count and return the same object. Always
761 // use this method when returning a BrowserAccessibilityWin object as 756 // use this method when returning a BrowserAccessibilityWin object as
762 // an output parameter to a COM interface, never use it otherwise. 757 // an output parameter to a COM interface, never use it otherwise.
763 BrowserAccessibilityWin* NewReference(); 758 BrowserAccessibilityWin* NewReference();
764 759
765 // Many MSAA methods take a var_id parameter indicating that the operation 760 // Many MSAA methods take a var_id parameter indicating that the operation
766 // should be performed on a particular child ID, rather than this object. 761 // should be performed on a particular child ID, rather than this object.
767 // This method tries to figure out the target object from |var_id| and 762 // This method tries to figure out the target object from |var_id| and
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 std::vector<int32> hyperlinks_; 857 std::vector<int32> hyperlinks_;
863 858
864 // Give BrowserAccessibility::Create access to our constructor. 859 // Give BrowserAccessibility::Create access to our constructor.
865 friend class BrowserAccessibility; 860 friend class BrowserAccessibility;
866 friend class BrowserAccessibilityRelation; 861 friend class BrowserAccessibilityRelation;
867 862
868 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); 863 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin);
869 }; 864 };
870 865
871 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 866 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698