Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager_win.h

Issue 2024053003: Revert of Uses the activedescendant_changed event received from Blink to fire the right focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
47 void NotifyAccessibilityEvent( 46 void NotifyAccessibilityEvent(
48 BrowserAccessibilityEvent::Source source, 47 BrowserAccessibilityEvent::Source source,
49 ui::AXEvent event_type, 48 ui::AXEvent event_type,
50 BrowserAccessibility* node) override; 49 BrowserAccessibility* node) override;
51 BrowserAccessibilityEvent::Result 50 BrowserAccessibilityEvent::Result
52 FireWinAccessibilityEvent(BrowserAccessibilityEventWin* event); 51 FireWinAccessibilityEvent(BrowserAccessibilityEventWin* event);
53 bool CanFireEvents() override; 52 bool CanFireEvents() override;
54 void FireFocusEvent( 53 void FireFocusEvent(
55 BrowserAccessibilityEvent::Source source, 54 BrowserAccessibilityEvent::Source source,
56 BrowserAccessibility* node) override; 55 BrowserAccessibility* node) override;
(...skipping 29 matching lines...) Expand all
86 // TODO(dmazzoni): a better fix would be to always have an HWND. 85 // TODO(dmazzoni): a better fix would be to always have an HWND.
87 // http://crbug.com/521877 86 // http://crbug.com/521877
88 bool load_complete_pending_; 87 bool load_complete_pending_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); 89 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin);
91 }; 90 };
92 91
93 } // namespace content 92 } // namespace content
94 93
95 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ 94 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698