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 23 matching lines...) Expand all Loading... |
34 IAccessible* GetParentIAccessible(); | 34 IAccessible* GetParentIAccessible(); |
35 | 35 |
36 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. | 36 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. |
37 void MaybeCallNotifyWinEvent(DWORD event, BrowserAccessibility* node); | 37 void MaybeCallNotifyWinEvent(DWORD event, BrowserAccessibility* node); |
38 | 38 |
39 // AXTree methods | 39 // AXTree methods |
40 virtual void OnNodeWillBeDeleted(ui::AXNode* node) override; | 40 virtual void OnNodeWillBeDeleted(ui::AXNode* node) override; |
41 virtual void OnNodeCreated(ui::AXNode* node) override; | 41 virtual void OnNodeCreated(ui::AXNode* node) override; |
42 | 42 |
43 // BrowserAccessibilityManager methods | 43 // BrowserAccessibilityManager methods |
44 virtual void OnWindowFocused() override; | 44 void OnWindowFocused() override; |
45 virtual void NotifyAccessibilityEvent( | 45 void UserIsReloading() override; |
| 46 void NotifyAccessibilityEvent( |
46 ui::AXEvent event_type, BrowserAccessibility* node) override; | 47 ui::AXEvent event_type, BrowserAccessibility* node) override; |
47 | 48 |
48 // Track this object and post a VISIBLE_DATA_CHANGED notification when | 49 // Track this object and post a VISIBLE_DATA_CHANGED notification when |
49 // its container scrolls. | 50 // its container scrolls. |
50 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. | 51 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. |
51 void TrackScrollingObject(BrowserAccessibilityWin* node); | 52 void TrackScrollingObject(BrowserAccessibilityWin* node); |
52 | 53 |
53 // Return a pointer to the object corresponding to the given windows-specific | 54 // Return a pointer to the object corresponding to the given windows-specific |
54 // unique id, does not make a new reference. | 55 // unique id, does not make a new reference. |
55 BrowserAccessibilityWin* GetFromUniqueIdWin(LONG unique_id_win); | 56 BrowserAccessibilityWin* GetFromUniqueIdWin(LONG unique_id_win); |
(...skipping 23 matching lines...) Expand all Loading... |
79 // Set to true if we need to fire a focus event on the root as soon as | 80 // Set to true if we need to fire a focus event on the root as soon as |
80 // possible. | 81 // possible. |
81 bool focus_event_on_root_needed_; | 82 bool focus_event_on_root_needed_; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); | 84 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace content | 87 } // namespace content |
87 | 88 |
88 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 89 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
OLD | NEW |