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

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: Fix more compile errors 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 // AXTreeDelegate implementation. 175 // AXTreeDelegate implementation.
176 virtual void OnNodeWillBeDeleted(ui::AXNode* node) OVERRIDE; 176 virtual void OnNodeWillBeDeleted(ui::AXNode* node) OVERRIDE;
177 virtual void OnNodeCreated(ui::AXNode* node) OVERRIDE; 177 virtual void OnNodeCreated(ui::AXNode* node) OVERRIDE;
178 virtual void OnNodeChanged(ui::AXNode* node) OVERRIDE; 178 virtual void OnNodeChanged(ui::AXNode* node) OVERRIDE;
179 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE; 179 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE;
180 virtual void OnNodeChangeFinished(ui::AXNode* node) OVERRIDE; 180 virtual void OnNodeChangeFinished(ui::AXNode* node) OVERRIDE;
181 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE {} 181 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE {}
182 182
183 BrowserAccessibilityDelegate* delegate() const { return delegate_; } 183 BrowserAccessibilityDelegate* delegate() const { return delegate_; }
184 void set_delegate(BrowserAccessibilityDelegate* delegate) {
185 delegate_ = delegate;
186 }
184 187
185 protected: 188 protected:
186 BrowserAccessibilityManager( 189 BrowserAccessibilityManager(
187 BrowserAccessibilityDelegate* delegate, 190 BrowserAccessibilityDelegate* delegate,
188 BrowserAccessibilityFactory* factory); 191 BrowserAccessibilityFactory* factory);
189 192
190 BrowserAccessibilityManager( 193 BrowserAccessibilityManager(
191 const ui::AXTreeUpdate& initial_tree, 194 const ui::AXTreeUpdate& initial_tree,
192 BrowserAccessibilityDelegate* delegate, 195 BrowserAccessibilityDelegate* delegate,
193 BrowserAccessibilityFactory* factory); 196 BrowserAccessibilityFactory* factory);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 251
249 // The on-screen keyboard state. 252 // The on-screen keyboard state.
250 OnScreenKeyboardState osk_state_; 253 OnScreenKeyboardState osk_state_;
251 254
252 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 255 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
253 }; 256 };
254 257
255 } // namespace content 258 } // namespace content
256 259
257 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 260 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698