| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/accessibility/ax_node_data.h" | 5 #include "ui/accessibility/ax_node_data.h" |
| 6 | 6 |
| 7 #include <algorithm> |
| 7 #include <set> | 8 #include <set> |
| 8 | 9 |
| 9 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 11 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 13 | 14 |
| 14 using base::DoubleToString; | 15 using base::DoubleToString; |
| 15 using base::IntToString; | 16 using base::IntToString; |
| 16 | 17 |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 bool AXNodeData::IsRoot() const { | 640 bool AXNodeData::IsRoot() const { |
| 640 return (role == AX_ROLE_ROOT_WEB_AREA || | 641 return (role == AX_ROLE_ROOT_WEB_AREA || |
| 641 role == AX_ROLE_DESKTOP); | 642 role == AX_ROLE_DESKTOP); |
| 642 } | 643 } |
| 643 | 644 |
| 644 void AXNodeData::SetRoot() { | 645 void AXNodeData::SetRoot() { |
| 645 role = AX_ROLE_ROOT_WEB_AREA; | 646 role = AX_ROLE_ROOT_WEB_AREA; |
| 646 } | 647 } |
| 647 | 648 |
| 648 } // namespace ui | 649 } // namespace ui |
| OLD | NEW |