summaryrefslogtreecommitdiffstats
path: root/views/controls/progress_bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/progress_bar.h')
-rw-r--r--views/controls/progress_bar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/progress_bar.h b/views/controls/progress_bar.h
index 65d10d7..1047da3 100644
--- a/views/controls/progress_bar.h
+++ b/views/controls/progress_bar.h
@@ -60,6 +60,7 @@ class ProgressBar : public View {
virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
virtual bool GetAccessibleName(std::wstring* name);
virtual bool GetAccessibleState(AccessibilityTypes::State* state);
+ virtual void SetAccessibleName(const std::wstring& name);
// Maximum value of progress.
static const int kMaxProgress;
@@ -74,6 +75,9 @@ class ProgressBar : public View {
// The view class name.
static const char kViewClassName[];
+ // The storage string for the accessibility name associated with this control.
+ std::wstring accessible_name_;
+
DISALLOW_COPY_AND_ASSIGN(ProgressBar);
};