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

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

Issue 2930413004: Remove unused ui::AXPlatformNode pointer from BrowserAccessibility. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | no next file » | 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_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 401
402 // The manager of this tree of accessibility objects. 402 // The manager of this tree of accessibility objects.
403 BrowserAccessibilityManager* manager_; 403 BrowserAccessibilityManager* manager_;
404 404
405 // The underlying node. 405 // The underlying node.
406 ui::AXNode* node_; 406 ui::AXNode* node_;
407 407
408 // A unique ID, since node IDs are frame-local. 408 // A unique ID, since node IDs are frame-local.
409 int32_t unique_id_; 409 int32_t unique_id_;
410 410
411 // The platform-specific object that implements the accessibility APIs for
412 // this node. Currently some of the platform-specific code is implemented by
413 // subclasses of BrowserAccessibility and some by |platform_node_|, but
414 // eventually we want all of that code to be in AXPlatformNode. See
415 // http://crbug.com/703369
416 ui::AXPlatformNode* platform_node_;
417
418 private: 411 private:
419 // |GetInnerText| recursively includes all the text from descendants such as 412 // |GetInnerText| recursively includes all the text from descendants such as
420 // text found in any embedded object. In contrast, |GetText| might include a 413 // text found in any embedded object. In contrast, |GetText| might include a
421 // special character in the place of every embedded object instead of its 414 // special character in the place of every embedded object instead of its
422 // text, depending on the platform. 415 // text, depending on the platform.
423 base::string16 GetInnerText() const; 416 base::string16 GetInnerText() const;
424 417
425 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 418 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
426 }; 419 };
427 420
428 } // namespace content 421 } // namespace content
429 422
430 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 423 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698