| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "core/editing/htmlediting.h" | 35 #include "core/editing/htmlediting.h" |
| 36 #include "core/frame/Frame.h" | 36 #include "core/frame/Frame.h" |
| 37 #include "core/rendering/RenderListItem.h" | 37 #include "core/rendering/RenderListItem.h" |
| 38 #include "core/rendering/RenderTheme.h" | 38 #include "core/rendering/RenderTheme.h" |
| 39 #include "core/rendering/RenderView.h" | 39 #include "core/rendering/RenderView.h" |
| 40 #include "platform/UserGestureIndicator.h" | 40 #include "platform/UserGestureIndicator.h" |
| 41 #include "platform/text/PlatformLocale.h" | 41 #include "platform/text/PlatformLocale.h" |
| 42 #include "wtf/StdLibExtras.h" | 42 #include "wtf/StdLibExtras.h" |
| 43 #include "wtf/text/WTFString.h" | 43 #include "wtf/text/WTFString.h" |
| 44 | 44 |
| 45 using WebKit::WebLocalizedString; | 45 using blink::WebLocalizedString; |
| 46 using namespace std; | 46 using namespace std; |
| 47 | 47 |
| 48 namespace WebCore { | 48 namespace WebCore { |
| 49 | 49 |
| 50 using namespace HTMLNames; | 50 using namespace HTMLNames; |
| 51 | 51 |
| 52 typedef HashMap<String, AccessibilityRole, CaseFoldingHash> ARIARoleMap; | 52 typedef HashMap<String, AccessibilityRole, CaseFoldingHash> ARIARoleMap; |
| 53 | 53 |
| 54 struct RoleEntry { | 54 struct RoleEntry { |
| 55 String ariaRole; | 55 String ariaRole; |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 return ToggleButtonRole; | 897 return ToggleButtonRole; |
| 898 if (ariaHasPopup()) | 898 if (ariaHasPopup()) |
| 899 return PopUpButtonRole; | 899 return PopUpButtonRole; |
| 900 // We don't contemplate RadioButtonRole, as it depends on the input | 900 // We don't contemplate RadioButtonRole, as it depends on the input |
| 901 // type. | 901 // type. |
| 902 | 902 |
| 903 return ButtonRole; | 903 return ButtonRole; |
| 904 } | 904 } |
| 905 | 905 |
| 906 } // namespace WebCore | 906 } // namespace WebCore |
| OLD | NEW |