OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/logging.h" | |
6 #include "content/browser/accessibility/accessibility_mode_helper.h" | 5 #include "content/browser/accessibility/accessibility_mode_helper.h" |
7 | 6 |
8 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
9 #include "base/command_line.h" | 8 #include "base/command_line.h" |
10 #include "base/win/windows_version.h" | 9 #include "base/win/windows_version.h" |
11 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
12 #endif | 11 #endif |
13 | 12 |
14 namespace content { | 13 namespace content { |
15 | 14 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 if ((from & AccessibilityModeEditableTextOnly) == | 47 if ((from & AccessibilityModeEditableTextOnly) == |
49 AccessibilityModeEditableTextOnly) | 48 AccessibilityModeEditableTextOnly) |
50 new_mode |= AccessibilityModeEditableTextOnly; | 49 new_mode |= AccessibilityModeEditableTextOnly; |
51 } | 50 } |
52 #endif // defined(OS_WIN) | 51 #endif // defined(OS_WIN) |
53 | 52 |
54 return CastToAccessibilityMode(new_mode); | 53 return CastToAccessibilityMode(new_mode); |
55 } | 54 } |
56 | 55 |
57 } // namespace content | 56 } // namespace content |
OLD | NEW |