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

Side by Side Diff: ui/views/controls/window_label.cc

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, 7 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
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/controls/window_label.h"
6
7 #include "ui/accessibility/ax_view_state.h"
8 #include "ui/views/controls/label.h"
9
10 namespace views {
11
12 WindowLabel::WindowLabel() : Label() {
13 }
14 WindowLabel::~WindowLabel() {
15 }
16
17 void WindowLabel::GetAccessibleState(ui::AXViewState* state) {
18 // TODO(dmazzoni) Change role to "window"
tdanderson 2014/04/29 14:46:27 Add : after (dmazzoni), and add . at the end of th
Nina 2014/04/29 18:31:40 Done, and he does know the TODO. We should probabl
19 state->role = ui::AX_ROLE_BUTTON;
20 state->AddStateFlag(ui::AX_STATE_READ_ONLY);
21 state->name = layout_text();
22 }
23
24 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698