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

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

Issue 1379803002: Adds class, id and src attributes to object attributes of IA2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Test Results Created 5 years, 2 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
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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 ui::TextBoundaryDirection direction); 831 ui::TextBoundaryDirection direction);
832 832
833 // Return a pointer to the object corresponding to the given id, 833 // Return a pointer to the object corresponding to the given id,
834 // does not make a new reference. 834 // does not make a new reference.
835 BrowserAccessibilityWin* GetFromID(int32 id); 835 BrowserAccessibilityWin* GetFromID(int32 id);
836 836
837 // Returns true if this is a list box option with a parent of type list box, 837 // Returns true if this is a list box option with a parent of type list box,
838 // or a menu list option with a parent of type menu list popup. 838 // or a menu list option with a parent of type menu list popup.
839 bool IsListBoxOptionOrMenuListOption(); 839 bool IsListBoxOptionOrMenuListOption();
840 840
841 // Updates object attributes of IA2 with html attributes.
842 void UpdateRequiredAttributes();
843
841 // Windows-specific unique ID (unique within the browser process), 844 // Windows-specific unique ID (unique within the browser process),
842 // used for get_accChild, NotifyWinEvent, and as the unique ID for 845 // used for get_accChild, NotifyWinEvent, and as the unique ID for
843 // IAccessible2 and ISimpleDOM. 846 // IAccessible2 and ISimpleDOM.
844 LONG unique_id_win_; 847 LONG unique_id_win_;
845 848
846 struct WinAttributes { 849 struct WinAttributes {
847 WinAttributes(); 850 WinAttributes();
848 ~WinAttributes(); 851 ~WinAttributes();
849 852
850 // IAccessible role and state. 853 // IAccessible role and state.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 // Give BrowserAccessibility::Create access to our constructor. 899 // Give BrowserAccessibility::Create access to our constructor.
897 friend class BrowserAccessibility; 900 friend class BrowserAccessibility;
898 friend class BrowserAccessibilityRelation; 901 friend class BrowserAccessibilityRelation;
899 902
900 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); 903 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin);
901 }; 904 };
902 905
903 } // namespace content 906 } // namespace content
904 907
905 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 908 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698