| 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 25 matching lines...) Expand all Loading... |
| 36 HWND GetParentHWND(); | 36 HWND GetParentHWND(); |
| 37 | 37 |
| 38 // The IAccessible for the parent window. | 38 // The IAccessible for the parent window. |
| 39 IAccessible* GetParentIAccessible(); | 39 IAccessible* GetParentIAccessible(); |
| 40 | 40 |
| 41 // IAccessible2UsageObserver | 41 // IAccessible2UsageObserver |
| 42 void OnIAccessible2Used() override; | 42 void OnIAccessible2Used() override; |
| 43 | 43 |
| 44 // BrowserAccessibilityManager methods | 44 // BrowserAccessibilityManager methods |
| 45 void UserIsReloading() override; | 45 void UserIsReloading() override; |
| 46 BrowserAccessibility* GetFocus() override; |
| 46 void NotifyAccessibilityEvent( | 47 void NotifyAccessibilityEvent( |
| 47 BrowserAccessibilityEvent::Source source, | 48 BrowserAccessibilityEvent::Source source, |
| 48 ui::AXEvent event_type, | 49 ui::AXEvent event_type, |
| 49 BrowserAccessibility* node) override; | 50 BrowserAccessibility* node) override; |
| 50 BrowserAccessibilityEvent::Result | 51 BrowserAccessibilityEvent::Result |
| 51 FireWinAccessibilityEvent(BrowserAccessibilityEventWin* event); | 52 FireWinAccessibilityEvent(BrowserAccessibilityEventWin* event); |
| 52 bool CanFireEvents() override; | 53 bool CanFireEvents() override; |
| 53 void FireFocusEvent( | 54 void FireFocusEvent( |
| 54 BrowserAccessibilityEvent::Source source, | 55 BrowserAccessibilityEvent::Source source, |
| 55 BrowserAccessibility* node) override; | 56 BrowserAccessibility* node) override; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 85 // TODO(dmazzoni): a better fix would be to always have an HWND. | 86 // TODO(dmazzoni): a better fix would be to always have an HWND. |
| 86 // http://crbug.com/521877 | 87 // http://crbug.com/521877 |
| 87 bool load_complete_pending_; | 88 bool load_complete_pending_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); | 90 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace content | 93 } // namespace content |
| 93 | 94 |
| 94 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 95 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| OLD | NEW |