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 "content/browser/accessibility/browser_accessibility_manager_android.h" | 5 #include "content/browser/accessibility/browser_accessibility_manager_android.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "content/browser/accessibility/browser_accessibility_android.h" | 14 #include "content/browser/accessibility/browser_accessibility_android.h" |
15 #include "content/common/accessibility_messages.h" | 15 #include "content/common/accessibility_messages.h" |
16 | 16 |
17 using base::android::AttachCurrentThread; | 17 using base::android::AttachCurrentThread; |
18 using base::android::ScopedJavaLocalRef; | 18 using base::android::ScopedJavaLocalRef; |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 // Restricts |val| to the range [min, max]. | 22 // Restricts |val| to the range [min, max]. |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // The Java layer handles the root scroll offset. | 176 // The Java layer handles the root scroll offset. |
177 return false; | 177 return false; |
178 } | 178 } |
179 | 179 |
180 bool RegisterBrowserAccessibilityManager(JNIEnv* env) { | 180 bool RegisterBrowserAccessibilityManager(JNIEnv* env) { |
181 // TODO(aboxhall): non-stub implementation | 181 // TODO(aboxhall): non-stub implementation |
182 return false; | 182 return false; |
183 } | 183 } |
184 | 184 |
185 } // namespace content | 185 } // namespace content |
OLD | NEW |