| 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 29 matching lines...) Expand all Loading... |
| 40 #include "content/child/request_extra_data.h" | 40 #include "content/child/request_extra_data.h" |
| 41 #include "content/child/v8_value_converter_impl.h" | 41 #include "content/child/v8_value_converter_impl.h" |
| 42 #include "content/child/webmessageportchannel_impl.h" | 42 #include "content/child/webmessageportchannel_impl.h" |
| 43 #include "content/common/content_constants_internal.h" | 43 #include "content/common/content_constants_internal.h" |
| 44 #include "content/common/content_switches_internal.h" | 44 #include "content/common/content_switches_internal.h" |
| 45 #include "content/common/database_messages.h" | 45 #include "content/common/database_messages.h" |
| 46 #include "content/common/dom_storage/dom_storage_types.h" | 46 #include "content/common/dom_storage/dom_storage_types.h" |
| 47 #include "content/common/drag_messages.h" | 47 #include "content/common/drag_messages.h" |
| 48 #include "content/common/frame_messages.h" | 48 #include "content/common/frame_messages.h" |
| 49 #include "content/common/frame_replication_state.h" | 49 #include "content/common/frame_replication_state.h" |
| 50 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | |
| 51 #include "content/common/input/input_event_utils.h" | 50 #include "content/common/input/input_event_utils.h" |
| 52 #include "content/common/input_messages.h" | 51 #include "content/common/input_messages.h" |
| 53 #include "content/common/page_messages.h" | 52 #include "content/common/page_messages.h" |
| 54 #include "content/common/pepper_messages.h" | 53 #include "content/common/pepper_messages.h" |
| 55 #include "content/common/site_isolation_policy.h" | 54 #include "content/common/site_isolation_policy.h" |
| 56 #include "content/common/ssl_status_serialization.h" | 55 #include "content/common/ssl_status_serialization.h" |
| 57 #include "content/common/view_messages.h" | 56 #include "content/common/view_messages.h" |
| 58 #include "content/public/common/bindings_policy.h" | 57 #include "content/public/common/bindings_policy.h" |
| 59 #include "content/public/common/content_client.h" | 58 #include "content/public/common/content_client.h" |
| 60 #include "content/public/common/content_constants.h" | 59 #include "content/public/common/content_constants.h" |
| (...skipping 3367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3428 if (IsUseZoomForDSFEnabled()) { | 3427 if (IsUseZoomForDSFEnabled()) { |
| 3429 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); | 3428 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); |
| 3430 } else { | 3429 } else { |
| 3431 webview()->setDeviceScaleFactor(device_scale_factor_); | 3430 webview()->setDeviceScaleFactor(device_scale_factor_); |
| 3432 } | 3431 } |
| 3433 webview()->settings()->setPreferCompositingToLCDTextEnabled( | 3432 webview()->settings()->setPreferCompositingToLCDTextEnabled( |
| 3434 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); | 3433 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); |
| 3435 } | 3434 } |
| 3436 | 3435 |
| 3437 } // namespace content | 3436 } // namespace content |
| OLD | NEW |