| OLD | NEW | 
|---|
| 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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 841                     ui::TextBoundaryDirection direction); | 841                     ui::TextBoundaryDirection direction); | 
| 842 | 842 | 
| 843   // Return a pointer to the object corresponding to the given id, | 843   // Return a pointer to the object corresponding to the given id, | 
| 844   // does not make a new reference. | 844   // does not make a new reference. | 
| 845   BrowserAccessibilityWin* GetFromID(int32 id); | 845   BrowserAccessibilityWin* GetFromID(int32 id); | 
| 846 | 846 | 
| 847   // Returns true if this is a list box option with a parent of type list box, | 847   // Returns true if this is a list box option with a parent of type list box, | 
| 848   // or a menu list option with a parent of type menu list popup. | 848   // or a menu list option with a parent of type menu list popup. | 
| 849   bool IsListBoxOptionOrMenuListOption(); | 849   bool IsListBoxOptionOrMenuListOption(); | 
| 850 | 850 | 
|  | 851   // Updates object attributes of IA2 with html attributes. | 
|  | 852   void UpdateRequiredAttributes(); | 
|  | 853 | 
| 851   // Windows-specific unique ID (unique within the browser process), | 854   // Windows-specific unique ID (unique within the browser process), | 
| 852   // used for get_accChild, NotifyWinEvent, and as the unique ID for | 855   // used for get_accChild, NotifyWinEvent, and as the unique ID for | 
| 853   // IAccessible2 and ISimpleDOM. | 856   // IAccessible2 and ISimpleDOM. | 
| 854   LONG unique_id_win_; | 857   LONG unique_id_win_; | 
| 855 | 858 | 
| 856   struct WinAttributes { | 859   struct WinAttributes { | 
| 857     WinAttributes(); | 860     WinAttributes(); | 
| 858     ~WinAttributes(); | 861     ~WinAttributes(); | 
| 859 | 862 | 
| 860     // IAccessible role and state. | 863     // IAccessible role and state. | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 906   // Give BrowserAccessibility::Create access to our constructor. | 909   // Give BrowserAccessibility::Create access to our constructor. | 
| 907   friend class BrowserAccessibility; | 910   friend class BrowserAccessibility; | 
| 908   friend class BrowserAccessibilityRelation; | 911   friend class BrowserAccessibilityRelation; | 
| 909 | 912 | 
| 910   DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 913   DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 
| 911 }; | 914 }; | 
| 912 | 915 | 
| 913 }  // namespace content | 916 }  // namespace content | 
| 914 | 917 | 
| 915 #endif  // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 918 #endif  // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 
| OLD | NEW | 
|---|