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

Unified Diff: ui/views/controls/window_label.h

Issue 251103005: Added arrow key navigation to Overview Mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with latest changes, test stub (don't look into that yet!) Created 6 years, 8 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
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_

Powered by Google App Engine
This is Rietveld 408576698