Chromium Code Reviews| Index: content/browser/android/content_view_core_impl.cc |
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
| index e627fcd7611712cccc0a78f09b97a433a233f072..1efa87f16808aaa8aea2e2a832030c9fe9457bcd 100644 |
| --- a/content/browser/android/content_view_core_impl.cc |
| +++ b/content/browser/android/content_view_core_impl.cc |
| @@ -884,6 +884,12 @@ void ContentViewCoreImpl::SetFocus(JNIEnv* env, |
| SetFocusInternal(focused); |
| } |
| +void ContentViewCoreImpl::SetDIPScale(JNIEnv* env, |
| + const JavaParamRef<jobject>& obj, |
| + jfloat dipScale) { |
| + dpi_scale_ = dipScale; |
|
boliu
2016/09/14 04:35:32
I remember making this comment before. What's resp
Tima Vaisburd
2016/09/15 00:05:03
I probably never understood completely, so let me
boliu
2016/09/15 05:27:41
Yep
|
| +} |
| + |
| void ContentViewCoreImpl::SetFocusInternal(bool focused) { |
| if (!GetRenderWidgetHostViewAndroid()) |
| return; |