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

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

Issue 848653002: Re-land: Send Windows accessibility events based on tree updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@implicit_1_tests
Patch Set: Remove logging Created 5 years, 11 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 "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 16 matching lines...) Expand all
27 27
28 static ui::AXTreeUpdate GetEmptyDocument(); 28 static ui::AXTreeUpdate GetEmptyDocument();
29 29
30 // Get the closest containing HWND. 30 // Get the closest containing HWND.
31 HWND GetParentHWND(); 31 HWND GetParentHWND();
32 32
33 // The IAccessible for the parent window. 33 // The IAccessible for the parent window.
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, LONG child_id); 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 virtual void OnWindowFocused() override;
45 virtual void NotifyAccessibilityEvent( 45 virtual void NotifyAccessibilityEvent(
46 ui::AXEvent event_type, BrowserAccessibility* node) override; 46 ui::AXEvent event_type, BrowserAccessibility* node) override;
47 47
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // Set to true if we need to fire a focus event on the root as soon as 79 // Set to true if we need to fire a focus event on the root as soon as
80 // possible. 80 // possible.
81 bool focus_event_on_root_needed_; 81 bool focus_event_on_root_needed_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); 83 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin);
84 }; 84 };
85 85
86 } // namespace content 86 } // namespace content
87 87
88 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ 88 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698