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

Side by Side Diff: ui/accessibility/platform/ax_platform_node.h

Issue 2894673003: Force AXPlatformNode to have the same unique id as the owning BA object. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « content/browser/accessibility/browser_accessibility_com_win.cc ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "ui/accessibility/ax_enums.h" 9 #include "ui/accessibility/ax_enums.h"
10 #include "ui/accessibility/ax_export.h" 10 #include "ui/accessibility/ax_export.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // this object. 43 // this object.
44 virtual void NotifyAccessibilityEvent(ui::AXEvent event_type) = 0; 44 virtual void NotifyAccessibilityEvent(ui::AXEvent event_type) = 0;
45 45
46 // Return this object's delegate. 46 // Return this object's delegate.
47 virtual AXPlatformNodeDelegate* GetDelegate() const = 0; 47 virtual AXPlatformNodeDelegate* GetDelegate() const = 0;
48 48
49 protected: 49 protected:
50 AXPlatformNode(); 50 AXPlatformNode();
51 virtual ~AXPlatformNode(); 51 virtual ~AXPlatformNode();
52 52
53 AXPlatformNode* GetFromUniqueId(int32_t unique_id); 53 virtual AXPlatformNode* GetFromUniqueId(int32_t unique_id);
54 54
55 int32_t unique_id_; 55 int32_t unique_id_;
56 }; 56 };
57 57
58 } // namespace ui 58 } // namespace ui
59 59
60 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ 60 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_com_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698