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

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

Issue 151083002: Create a visible window with class name Chrome_RenderWidgetHostHWND which corresponds to the bounds… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "base/win/scoped_comptr.h" 11 #include "base/win/scoped_comptr.h"
12 #include "content/browser/accessibility/browser_accessibility_manager.h" 12 #include "content/browser/accessibility/browser_accessibility_manager.h"
13 13
14 namespace content { 14 namespace content {
15 class BrowserAccessibilityWin; 15 class BrowserAccessibilityWin;
16 16
17 class AccessibleHWND; 17 class LegacyRenderWidgetHostHWND;
18 18
19 // Manages a tree of BrowserAccessibilityWin objects. 19 // Manages a tree of BrowserAccessibilityWin objects.
20 class CONTENT_EXPORT BrowserAccessibilityManagerWin 20 class CONTENT_EXPORT BrowserAccessibilityManagerWin
21 : public BrowserAccessibilityManager { 21 : public BrowserAccessibilityManager {
22 public: 22 public:
23 BrowserAccessibilityManagerWin( 23 BrowserAccessibilityManagerWin(
24 HWND parent_hwnd, 24 content::LegacyRenderWidgetHostHWND* accessible_hwnd,
25 IAccessible* parent_iaccessible, 25 IAccessible* parent_iaccessible,
26 const ui::AXNodeData& src, 26 const ui::AXNodeData& src,
27 BrowserAccessibilityDelegate* delegate, 27 BrowserAccessibilityDelegate* delegate,
28 BrowserAccessibilityFactory* factory = new BrowserAccessibilityFactory()); 28 BrowserAccessibilityFactory* factory = new BrowserAccessibilityFactory());
29 29
30 virtual ~BrowserAccessibilityManagerWin(); 30 virtual ~BrowserAccessibilityManagerWin();
31 31
32 static ui::AXNodeData GetEmptyDocument(); 32 static ui::AXNodeData GetEmptyDocument();
33 33
34 // Get the closest containing HWND. 34 // Get the closest containing HWND.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Track the most recent object that has been asked to scroll and 74 // Track the most recent object that has been asked to scroll and
75 // post a notification directly on it when it reaches its destination. 75 // post a notification directly on it when it reaches its destination.
76 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. 76 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed.
77 BrowserAccessibilityWin* tracked_scroll_object_; 77 BrowserAccessibilityWin* tracked_scroll_object_;
78 78
79 // A mapping from the Windows-specific unique IDs (unique within the 79 // A mapping from the Windows-specific unique IDs (unique within the
80 // browser process) to renderer ids within this page. 80 // browser process) to renderer ids within this page.
81 base::hash_map<long, int32> unique_id_to_renderer_id_map_; 81 base::hash_map<long, int32> unique_id_to_renderer_id_map_;
82 82
83 // Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion. 83 // Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion.
84 AccessibleHWND* accessible_hwnd_; 84 LegacyRenderWidgetHostHWND* accessible_hwnd_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); 86 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin);
87 }; 87 };
88 88
89 } // namespace content 89 } // namespace content
90 90
91 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ 91 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698