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 "content/browser/accessibility/browser_accessibility_gtk.h" | 5 #include "content/browser/accessibility/browser_accessibility_gtk.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include "base/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "content/browser/accessibility/browser_accessibility_manager_gtk.h" | 10 #include "content/browser/accessibility/browser_accessibility_manager_gtk.h" |
11 #include "content/common/accessibility_messages.h" | 11 #include "content/common/accessibility_messages.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 // The maximum length of an autogenerated unique type name string, | 15 // The maximum length of an autogenerated unique type name string, |
16 // generated from the 16-bit interface mask from an AtkObject. | 16 // generated from the 16-bit interface mask from an AtkObject. |
17 // 30 is enough for the prefix "WAIType" + 5 hex chars (max) */ | 17 // 30 is enough for the prefix "WAIType" + 5 hex chars (max) */ |
18 static const int kWAITypeNameLen = 30; | 18 static const int kWAITypeNameLen = 30; |
19 | 19 |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 case AccessibilityNodeData::ROLE_WEBCORE_LINK: | 362 case AccessibilityNodeData::ROLE_WEBCORE_LINK: |
363 atk_role_ = ATK_ROLE_LINK; | 363 atk_role_ = ATK_ROLE_LINK; |
364 break; | 364 break; |
365 default: | 365 default: |
366 atk_role_ = ATK_ROLE_UNKNOWN; | 366 atk_role_ = ATK_ROLE_UNKNOWN; |
367 break; | 367 break; |
368 } | 368 } |
369 } | 369 } |
370 | 370 |
371 } // namespace content | 371 } // namespace content |
OLD | NEW |