| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 void NotifyAccessibilityEvent( | 47 void NotifyAccessibilityEvent( |
| 48 BrowserAccessibilityEvent::Source source, | 48 BrowserAccessibilityEvent::Source source, |
| 49 ui::AXEvent event_type, | 49 ui::AXEvent event_type, |
| 50 BrowserAccessibility* node) override; | 50 BrowserAccessibility* node) override; |
| 51 BrowserAccessibilityEvent::Result | 51 BrowserAccessibilityEvent::Result |
| 52 FireWinAccessibilityEvent(BrowserAccessibilityEventWin* event); | 52 FireWinAccessibilityEvent(BrowserAccessibilityEventWin* event); |
| 53 bool CanFireEvents() override; | 53 bool CanFireEvents() override; |
| 54 void FireFocusEvent( | 54 void FireFocusEvent( |
| 55 BrowserAccessibilityEvent::Source source, | 55 BrowserAccessibilityEvent::Source source, |
| 56 BrowserAccessibility* node) override; | 56 BrowserAccessibility* node) override; |
| 57 gfx::Rect GetViewBounds() override; |
| 57 | 58 |
| 58 // Track this object and post a VISIBLE_DATA_CHANGED notification when | 59 // Track this object and post a VISIBLE_DATA_CHANGED notification when |
| 59 // its container scrolls. | 60 // its container scrolls. |
| 60 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. | 61 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. |
| 61 void TrackScrollingObject(BrowserAccessibilityWin* node); | 62 void TrackScrollingObject(BrowserAccessibilityWin* node); |
| 62 | 63 |
| 63 // Called when |accessible_hwnd_| is deleted by its parent. | 64 // Called when |accessible_hwnd_| is deleted by its parent. |
| 64 void OnAccessibleHwndDeleted(); | 65 void OnAccessibleHwndDeleted(); |
| 65 | 66 |
| 66 protected: | 67 protected: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 80 // TODO(dmazzoni): a better fix would be to always have an HWND. | 81 // TODO(dmazzoni): a better fix would be to always have an HWND. |
| 81 // http://crbug.com/521877 | 82 // http://crbug.com/521877 |
| 82 bool load_complete_pending_; | 83 bool load_complete_pending_; |
| 83 | 84 |
| 84 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); | 85 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 } // namespace content | 88 } // namespace content |
| 88 | 89 |
| 89 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 90 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| OLD | NEW |