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

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

Issue 2679313003: Implemented IA2::setSelection and related methods on text fields in Views. (Closed)
Patch Set: Made |SetTextSelection| return a value. Created 3 years, 10 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"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 // Set PLATFORM_HAS_AX_PLATFORM_NODE_IMPL if this platform has a specific 13 // Set PLATFORM_HAS_AX_PLATFORM_NODE_IMPL if this platform has a specific
14 // implementation of AxPlatfromNode::Create(). 14 // implementation of AXPlatformNode::Create().
15 #undef PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 15 #undef PLATFORM_HAS_AX_PLATFORM_NODE_IMPL
16 16
17 #if defined(OS_WIN) 17 #if defined(OS_WIN)
18 #define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1 18 #define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1
19 #endif 19 #endif
20 20
21 #if defined(OS_MACOSX) 21 #if defined(OS_MACOSX)
22 #define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1 22 #define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1
23 #endif 23 #endif
24 24
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual ~AXPlatformNode(); 75 virtual ~AXPlatformNode();
76 76
77 AXPlatformNode* GetFromUniqueId(int32_t unique_id); 77 AXPlatformNode* GetFromUniqueId(int32_t unique_id);
78 78
79 int32_t unique_id_; 79 int32_t unique_id_;
80 }; 80 };
81 81
82 } // namespace ui 82 } // namespace ui
83 83
84 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ 84 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/accessibility/platform/ax_platform_node_base.h » ('j') | ui/views/controls/textfield/textfield.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698