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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 // AXTreeDelegate implementation. 171 // AXTreeDelegate implementation.
172 virtual void OnNodeWillBeDeleted(ui::AXNode* node) OVERRIDE; 172 virtual void OnNodeWillBeDeleted(ui::AXNode* node) OVERRIDE;
173 virtual void OnNodeCreated(ui::AXNode* node) OVERRIDE; 173 virtual void OnNodeCreated(ui::AXNode* node) OVERRIDE;
174 virtual void OnNodeChanged(ui::AXNode* node) OVERRIDE; 174 virtual void OnNodeChanged(ui::AXNode* node) OVERRIDE;
175 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE; 175 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE;
176 virtual void OnNodeChangeFinished(ui::AXNode* node) OVERRIDE; 176 virtual void OnNodeChangeFinished(ui::AXNode* node) OVERRIDE;
177 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE {} 177 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE {}
178 178
179 BrowserAccessibilityDelegate* delegate() const { return delegate_; } 179 BrowserAccessibilityDelegate* delegate() const { return delegate_; }
180 void set_delegate(BrowserAccessibilityDelegate* delegate) {
181 delegate_ = delegate;
182 }
180 183
181 protected: 184 protected:
182 BrowserAccessibilityManager( 185 BrowserAccessibilityManager(
183 BrowserAccessibilityDelegate* delegate, 186 BrowserAccessibilityDelegate* delegate,
184 BrowserAccessibilityFactory* factory); 187 BrowserAccessibilityFactory* factory);
185 188
186 BrowserAccessibilityManager( 189 BrowserAccessibilityManager(
187 const ui::AXTreeUpdate& initial_tree, 190 const ui::AXTreeUpdate& initial_tree,
188 BrowserAccessibilityDelegate* delegate, 191 BrowserAccessibilityDelegate* delegate,
189 BrowserAccessibilityFactory* factory); 192 BrowserAccessibilityFactory* factory);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 247
245 // The on-screen keyboard state. 248 // The on-screen keyboard state.
246 OnScreenKeyboardState osk_state_; 249 OnScreenKeyboardState osk_state_;
247 250
248 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 251 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
249 }; 252 };
250 253
251 } // namespace content 254 } // namespace content
252 255
253 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 256 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698