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

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

Issue 214243005: Fire accessibility focus/blur events on root web document. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fire event before fullscreen check destroys window Created 6 years, 8 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 28 matching lines...) Expand all
39 void set_parent_iaccessible(IAccessible* parent_iaccessible) { 39 void set_parent_iaccessible(IAccessible* parent_iaccessible) {
40 parent_iaccessible_ = parent_iaccessible; 40 parent_iaccessible_ = parent_iaccessible;
41 } 41 }
42 42
43 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known. 43 // Calls NotifyWinEvent if the parent window's IAccessible pointer is known.
44 void MaybeCallNotifyWinEvent(DWORD event, LONG child_id); 44 void MaybeCallNotifyWinEvent(DWORD event, LONG child_id);
45 45
46 // BrowserAccessibilityManager methods 46 // BrowserAccessibilityManager methods
47 virtual void AddNodeToMap(BrowserAccessibility* node); 47 virtual void AddNodeToMap(BrowserAccessibility* node);
48 virtual void RemoveNode(BrowserAccessibility* node) OVERRIDE; 48 virtual void RemoveNode(BrowserAccessibility* node) OVERRIDE;
49 virtual void OnWindowFocused() OVERRIDE;
50 virtual void OnWindowBlurred() OVERRIDE;
49 virtual void NotifyAccessibilityEvent( 51 virtual void NotifyAccessibilityEvent(
50 ui::AXEvent event_type, BrowserAccessibility* node) OVERRIDE; 52 ui::AXEvent event_type, BrowserAccessibility* node) OVERRIDE;
51 53
52 // Track this object and post a VISIBLE_DATA_CHANGED notification when 54 // Track this object and post a VISIBLE_DATA_CHANGED notification when
53 // its container scrolls. 55 // its container scrolls.
54 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. 56 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed.
55 void TrackScrollingObject(BrowserAccessibilityWin* node); 57 void TrackScrollingObject(BrowserAccessibilityWin* node);
56 58
57 // Return a pointer to the object corresponding to the given windows-specific 59 // Return a pointer to the object corresponding to the given windows-specific
58 // unique id, does not make a new reference. 60 // unique id, does not make a new reference.
(...skipping 23 matching lines...) Expand all
82 84
83 // Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion. 85 // Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion.
84 LegacyRenderWidgetHostHWND* accessible_hwnd_; 86 LegacyRenderWidgetHostHWND* accessible_hwnd_;
85 87
86 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); 88 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin);
87 }; 89 };
88 90
89 } // namespace content 91 } // namespace content
90 92
91 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ 93 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698