OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" | 5 #include "ui/views/controls/tabbed_pane/tabbed_pane.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "third_party/skia/include/core/SkPaint.h" | 9 #include "third_party/skia/include/core/SkPaint.h" |
10 #include "third_party/skia/include/core/SkPath.h" | 10 #include "third_party/skia/include/core/SkPath.h" |
| 11 #include "ui/accessibility/ax_enums.h" |
11 #include "ui/accessibility/ax_view_state.h" | 12 #include "ui/accessibility/ax_view_state.h" |
12 #include "ui/base/default_style.h" | 13 #include "ui/base/default_style.h" |
13 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
14 #include "ui/events/keycodes/keyboard_codes.h" | 15 #include "ui/events/keycodes/keyboard_codes.h" |
15 #include "ui/gfx/canvas.h" | 16 #include "ui/gfx/canvas.h" |
16 #include "ui/gfx/font_list.h" | 17 #include "ui/gfx/font_list.h" |
17 #include "ui/views/controls/label.h" | 18 #include "ui/views/controls/label.h" |
18 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" | 19 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" |
19 #include "ui/views/layout/layout_manager.h" | 20 #include "ui/views/layout/layout_manager.h" |
20 #include "ui/views/widget/widget.h" | 21 #include "ui/views/widget/widget.h" |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 selected_tab->NotifyAccessibilityEvent( | 408 selected_tab->NotifyAccessibilityEvent( |
408 ui::AX_EVENT_FOCUS, true); | 409 ui::AX_EVENT_FOCUS, true); |
409 } | 410 } |
410 } | 411 } |
411 | 412 |
412 void TabbedPane::GetAccessibleState(ui::AXViewState* state) { | 413 void TabbedPane::GetAccessibleState(ui::AXViewState* state) { |
413 state->role = ui::AX_ROLE_TAB_LIST; | 414 state->role = ui::AX_ROLE_TAB_LIST; |
414 } | 415 } |
415 | 416 |
416 } // namespace views | 417 } // namespace views |
OLD | NEW |