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

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

Issue 2956593002: cl format
Patch Set: Sash - text markers not needed :/ Created 3 years, 5 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
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 28 matching lines...) Expand all
39 // wrapper object or handle. 39 // wrapper object or handle.
40 virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0; 40 virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0;
41 41
42 // Fire a platform-specific notification that an event has occurred on 42 // Fire a platform-specific notification that an event has occurred on
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 int32_t unique_id() const { return unique_id_; }
50
49 protected: 51 protected:
50 AXPlatformNode(); 52 AXPlatformNode();
51 virtual ~AXPlatformNode(); 53 virtual ~AXPlatformNode();
52 54
53 virtual AXPlatformNode* GetFromUniqueId(int32_t unique_id); 55 virtual AXPlatformNode* GetFromUniqueId(int32_t unique_id);
54 56
55 int32_t unique_id_; 57 int32_t unique_id_;
56 }; 58 };
57 59
58 } // namespace ui 60 } // namespace ui
59 61
60 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ 62 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_cocoa.mm ('k') | ui/accessibility/platform/ax_platform_node_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698