| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/accessibility/native_view_accessibility.h" | 5 #include "ui/views/accessibility/native_view_accessibility.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "build/build_config.h" |
| 8 #include "ui/accessibility/ax_view_state.h" | 9 #include "ui/accessibility/ax_view_state.h" |
| 9 #include "ui/events/event_utils.h" | 10 #include "ui/events/event_utils.h" |
| 10 #include "ui/views/controls/native/native_view_host.h" | 11 #include "ui/views/controls/native/native_view_host.h" |
| 11 #include "ui/views/view.h" | 12 #include "ui/views/view.h" |
| 12 #include "ui/views/widget/widget.h" | 13 #include "ui/views/widget/widget.h" |
| 13 | 14 |
| 14 namespace views { | 15 namespace views { |
| 15 | 16 |
| 16 #if !defined(PLATFORM_HAS_NATIVE_VIEW_ACCESSIBILITY_IMPL) | 17 #if !defined(PLATFORM_HAS_NATIVE_VIEW_ACCESSIBILITY_IMPL) |
| 17 // static | 18 // static |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 child_widget_platform_node->GetDelegate()); | 246 child_widget_platform_node->GetDelegate()); |
| 246 if (child_widget_view_accessibility->parent_widget() != widget) | 247 if (child_widget_view_accessibility->parent_widget() != widget) |
| 247 child_widget_view_accessibility->SetParentWidget(widget); | 248 child_widget_view_accessibility->SetParentWidget(widget); |
| 248 } | 249 } |
| 249 | 250 |
| 250 result_child_widgets->push_back(child_widget); | 251 result_child_widgets->push_back(child_widget); |
| 251 } | 252 } |
| 252 } | 253 } |
| 253 | 254 |
| 254 } // namespace views | 255 } // namespace views |
| OLD | NEW |