OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/android/chrome_context_util.h" |
| 6 |
| 7 #include "base/android/jni_android.h" |
| 8 #include "jni/ChromeContextUtil_jni.h" |
| 9 |
| 10 namespace chrome { |
| 11 namespace android { |
| 12 |
| 13 ChromeContextUtil::ChromeContextUtil() {} |
| 14 |
| 15 // static |
| 16 int ChromeContextUtil::GetSmallestDIPWidth() { |
| 17 return Java_ChromeContextUtil_getSmallestDIPWidth( |
| 18 base::android::AttachCurrentThread()); |
| 19 } |
| 20 |
| 21 } // namespace android |
| 22 } // namespace chrome |
OLD | NEW |