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

Unified Diff: ui/accessibility/platform/ax_platform_node.h

Issue 2746813002: Hide AXPlatformNode on ChromeOS. (Closed)
Patch Set: has_native_accessibility Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | ui/accessibility/platform/ax_platform_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/platform/ax_platform_node.h
diff --git a/ui/accessibility/platform/ax_platform_node.h b/ui/accessibility/platform/ax_platform_node.h
index ec5263582a11af07aab8d7581bb4f14feecc07ad..b0853603e3c1a46111b05521916ec65c63c96dd0 100644
--- a/ui/accessibility/platform/ax_platform_node.h
+++ b/ui/accessibility/platform/ax_platform_node.h
@@ -10,22 +10,6 @@
#include "ui/accessibility/ax_export.h"
#include "ui/gfx/native_widget_types.h"
-// Set PLATFORM_HAS_AX_PLATFORM_NODE_IMPL if this platform has a specific
-// implementation of AXPlatformNode::Create().
-#undef PLATFORM_HAS_AX_PLATFORM_NODE_IMPL
-
-#if defined(OS_WIN)
-#define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1
-#endif
-
-#if defined(OS_MACOSX)
-#define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1
-#endif
-
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
-#define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1
-#endif
-
namespace ui {
class AXPlatformNodeDelegate;
@@ -46,14 +30,6 @@ class AX_EXPORT AXPlatformNode {
static AXPlatformNode* FromNativeViewAccessible(
gfx::NativeViewAccessible accessible);
- // Each platform accessibility object has a unique id that's guaranteed
- // to be a positive number. (It's stored in an int32_t as opposed to
- // uint32_t because some platforms want to negate it, so we want to ensure
- // the range is below the signed int max.) This can be used when the
- // id has to be unique across multiple frames, since node ids are
- // only unique within one tree.
- static int32_t GetNextUniqueId();
-
// Call Destroy rather than deleting this, because the subclass may
// use reference counting.
virtual void Destroy();
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | ui/accessibility/platform/ax_platform_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698