OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2023 | 2023 |
2024 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { | 2024 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { |
2025 RenderWidget::hasTouchEventHandlers(has_handlers); | 2025 RenderWidget::hasTouchEventHandlers(has_handlers); |
2026 } | 2026 } |
2027 | 2027 |
2028 void RenderViewImpl::resetInputMethod() { | 2028 void RenderViewImpl::resetInputMethod() { |
2029 RenderWidget::resetInputMethod(); | 2029 RenderWidget::resetInputMethod(); |
2030 } | 2030 } |
2031 | 2031 |
2032 blink::WebRect RenderViewImpl::rootWindowRect() { | 2032 blink::WebRect RenderViewImpl::rootWindowRect() { |
2033 return RenderWidget::RootWindowRect(); | 2033 return RenderWidget::windowRect(); |
2034 } | 2034 } |
2035 | 2035 |
2036 blink::WebScreenInfo RenderViewImpl::screenInfo() { | 2036 blink::WebScreenInfo RenderViewImpl::screenInfo() { |
2037 return RenderWidget::screenInfo(); | 2037 return RenderWidget::screenInfo(); |
2038 } | 2038 } |
2039 | 2039 |
2040 void RenderViewImpl::setToolTipText(const blink::WebString& text, | 2040 void RenderViewImpl::setToolTipText(const blink::WebString& text, |
2041 blink::WebTextDirection hint) { | 2041 blink::WebTextDirection hint) { |
2042 RenderWidget::setToolTipText(text, hint); | 2042 RenderWidget::setToolTipText(text, hint); |
2043 } | 2043 } |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3018 if (IsUseZoomForDSFEnabled()) { | 3018 if (IsUseZoomForDSFEnabled()) { |
3019 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); | 3019 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); |
3020 } else { | 3020 } else { |
3021 webview()->setDeviceScaleFactor(device_scale_factor_); | 3021 webview()->setDeviceScaleFactor(device_scale_factor_); |
3022 } | 3022 } |
3023 webview()->settings()->setPreferCompositingToLCDTextEnabled( | 3023 webview()->settings()->setPreferCompositingToLCDTextEnabled( |
3024 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); | 3024 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); |
3025 } | 3025 } |
3026 | 3026 |
3027 } // namespace content | 3027 } // namespace content |
OLD | NEW |