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_MANAGER_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
7 | 7 |
8 #include <oleacc.h> | 8 #include <oleacc.h> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 parent_iaccessible_ = parent_iaccessible; | 40 parent_iaccessible_ = parent_iaccessible; |
41 } | 41 } |
42 | 42 |
43 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. | 43 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. |
44 void MaybeCallNotifyWinEvent(DWORD event, LONG child_id); | 44 void MaybeCallNotifyWinEvent(DWORD event, LONG child_id); |
45 | 45 |
46 // BrowserAccessibilityManager methods | 46 // BrowserAccessibilityManager methods |
47 virtual void AddNodeToMap(BrowserAccessibility* node); | 47 virtual void AddNodeToMap(BrowserAccessibility* node); |
48 virtual void RemoveNode(BrowserAccessibility* node) OVERRIDE; | 48 virtual void RemoveNode(BrowserAccessibility* node) OVERRIDE; |
49 virtual void NotifyAccessibilityEvent( | 49 virtual void NotifyAccessibilityEvent( |
50 WebKit::WebAXEvent event_type, BrowserAccessibility* node) OVERRIDE; | 50 blink::WebAXEvent event_type, BrowserAccessibility* node) OVERRIDE; |
51 | 51 |
52 // Track this object and post a VISIBLE_DATA_CHANGED notification when | 52 // Track this object and post a VISIBLE_DATA_CHANGED notification when |
53 // its container scrolls. | 53 // its container scrolls. |
54 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. | 54 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. |
55 void TrackScrollingObject(BrowserAccessibilityWin* node); | 55 void TrackScrollingObject(BrowserAccessibilityWin* node); |
56 | 56 |
57 // Return a pointer to the object corresponding to the given windows-specific | 57 // Return a pointer to the object corresponding to the given windows-specific |
58 // unique id, does not make a new reference. | 58 // unique id, does not make a new reference. |
59 BrowserAccessibilityWin* GetFromUniqueIdWin(LONG unique_id_win); | 59 BrowserAccessibilityWin* GetFromUniqueIdWin(LONG unique_id_win); |
60 | 60 |
(...skipping 19 matching lines...) Expand all Loading... |
80 bool is_chrome_frame_; | 80 bool is_chrome_frame_; |
81 | 81 |
82 scoped_ptr<AccessibleHWND> accessible_hwnd_; | 82 scoped_ptr<AccessibleHWND> accessible_hwnd_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); | 84 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace content | 87 } // namespace content |
88 | 88 |
89 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 89 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
OLD | NEW |