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

Side by Side Diff: ui/views/accessibility/native_view_accessibility.h

Issue 2230093002: MacViews a11y: Allow accessibility clients to set the AXValue on some controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't say attributes are settable until implemented. Created 4 years, 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_ 5 #ifndef UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_
6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_ 6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ui/accessibility/ax_node_data.h" 10 #include "ui/accessibility/ax_node_data.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 int GetChildCount() override; 50 int GetChildCount() override;
51 gfx::NativeViewAccessible ChildAtIndex(int index) override; 51 gfx::NativeViewAccessible ChildAtIndex(int index) override;
52 gfx::NativeWindow GetTopLevelWidget() override; 52 gfx::NativeWindow GetTopLevelWidget() override;
53 gfx::NativeViewAccessible GetParent() override; 53 gfx::NativeViewAccessible GetParent() override;
54 gfx::Vector2d GetGlobalCoordinateOffset() override; 54 gfx::Vector2d GetGlobalCoordinateOffset() override;
55 gfx::NativeViewAccessible HitTestSync(int x, int y) override; 55 gfx::NativeViewAccessible HitTestSync(int x, int y) override;
56 gfx::NativeViewAccessible GetFocus() override; 56 gfx::NativeViewAccessible GetFocus() override;
57 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; 57 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override;
58 void DoDefaultAction() override; 58 void DoDefaultAction() override;
59 bool SetStringValue(const base::string16& new_value) override; 59 bool SetStringValue(const base::string16& new_value) override;
60 bool CanSetStringValue() override;
60 61
61 // WidgetObserver 62 // WidgetObserver
62 void OnWidgetDestroying(Widget* widget) override; 63 void OnWidgetDestroying(Widget* widget) override;
63 64
64 Widget* parent_widget() const { return parent_widget_; } 65 Widget* parent_widget() const { return parent_widget_; }
65 void SetParentWidget(Widget* parent_widget); 66 void SetParentWidget(Widget* parent_widget);
66 67
67 protected: 68 protected:
68 NativeViewAccessibility(View* view); 69 NativeViewAccessibility(View* view);
69 ~NativeViewAccessibility() override; 70 ~NativeViewAccessibility() override;
(...skipping 14 matching lines...) Expand all
84 ui::AXPlatformNode* ax_node_; 85 ui::AXPlatformNode* ax_node_;
85 86
86 ui::AXNodeData data_; 87 ui::AXNodeData data_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibility); 89 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibility);
89 }; 90 };
90 91
91 } // namespace views 92 } // namespace views
92 93
93 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_ 94 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « ui/accessibility/platform/test_ax_node_wrapper.cc ('k') | ui/views/accessibility/native_view_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698