| 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 <memory> | 10 #include <memory> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 IAccessible* GetParentIAccessible(); | 38 IAccessible* GetParentIAccessible(); |
| 39 | 39 |
| 40 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. | 40 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. |
| 41 void MaybeCallNotifyWinEvent(DWORD event, BrowserAccessibility* node); | 41 void MaybeCallNotifyWinEvent(DWORD event, BrowserAccessibility* node); |
| 42 | 42 |
| 43 // IAccessible2UsageObserver | 43 // IAccessible2UsageObserver |
| 44 void OnIAccessible2Used() override; | 44 void OnIAccessible2Used() override; |
| 45 | 45 |
| 46 // BrowserAccessibilityManager methods | 46 // BrowserAccessibilityManager methods |
| 47 void UserIsReloading() override; | 47 void UserIsReloading() override; |
| 48 BrowserAccessibility* GetFocus() override; |
| 48 void NotifyAccessibilityEvent( | 49 void NotifyAccessibilityEvent( |
| 49 ui::AXEvent event_type, BrowserAccessibility* node) override; | 50 ui::AXEvent event_type, BrowserAccessibility* node) override; |
| 50 bool CanFireEvents() override; | 51 bool CanFireEvents() override; |
| 51 void FireFocusEvent(BrowserAccessibility* node) override; | 52 void FireFocusEvent(BrowserAccessibility* node) override; |
| 52 | 53 |
| 53 // Track this object and post a VISIBLE_DATA_CHANGED notification when | 54 // Track this object and post a VISIBLE_DATA_CHANGED notification when |
| 54 // its container scrolls. | 55 // its container scrolls. |
| 55 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. | 56 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. |
| 56 void TrackScrollingObject(BrowserAccessibilityWin* node); | 57 void TrackScrollingObject(BrowserAccessibilityWin* node); |
| 57 | 58 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 75 // post a notification directly on it when it reaches its destination. | 76 // post a notification directly on it when it reaches its destination. |
| 76 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. | 77 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. |
| 77 BrowserAccessibilityWin* tracked_scroll_object_; | 78 BrowserAccessibilityWin* tracked_scroll_object_; |
| 78 | 79 |
| 79 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); | 80 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 } // namespace content | 83 } // namespace content |
| 83 | 84 |
| 84 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 85 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| OLD | NEW |