Index: ui/views/controls/window_label.h |
diff --git a/ui/views/controls/window_label.h b/ui/views/controls/window_label.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..338a4cf7de2adb54f8f67455bde873acf6bb1463 |
--- /dev/null |
+++ b/ui/views/controls/window_label.h |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_VIEWS_CONTROLS_WINDOW_LABEL_H_ |
+#define UI_VIEWS_CONTROLS_WINDOW_LABEL_H_ |
+ |
+#include "ui/views/controls/label.h" |
+ |
+namespace views { |
+ |
+///////////////////////////////////////////////////////////////////////////// |
+// |
+// Window Label class |
+// |
+// A window label is a label subclass that works as a window from the point of |
+// view of a11y. |
+// |
+///////////////////////////////////////////////////////////////////////////// |
+class VIEWS_EXPORT WindowLabel : public Label { |
+ public: |
+ WindowLabel(); |
+ ~WindowLabel(); |
+ |
+ virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
+}; |
+ |
+} // namespace views |
+ |
+#endif // UI_VIEWS_CONTROLS_WINDOW_LABEL_H_ |