| 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 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
| 30 #include "base/strings/sys_string_conversions.h" | 30 #include "base/strings/sys_string_conversions.h" |
| 31 #include "base/strings/utf_string_conversions.h" | 31 #include "base/strings/utf_string_conversions.h" |
| 32 #include "base/time/time.h" | 32 #include "base/time/time.h" |
| 33 #include "base/trace_event/trace_event.h" | 33 #include "base/trace_event/trace_event.h" |
| 34 #include "build/build_config.h" | 34 #include "build/build_config.h" |
| 35 #include "cc/base/switches.h" | 35 #include "cc/base/switches.h" |
| 36 #include "content/child/appcache/appcache_dispatcher.h" | 36 #include "content/child/appcache/appcache_dispatcher.h" |
| 37 #include "content/child/appcache/web_application_cache_host_impl.h" | 37 #include "content/child/appcache/web_application_cache_host_impl.h" |
| 38 #include "content/child/child_shared_bitmap_manager.h" | 38 #include "content/child/child_shared_bitmap_manager.h" |
| 39 #include "content/child/npapi/webplugin_delegate_impl.h" | |
| 40 #include "content/child/request_extra_data.h" | 39 #include "content/child/request_extra_data.h" |
| 41 #include "content/child/v8_value_converter_impl.h" | 40 #include "content/child/v8_value_converter_impl.h" |
| 42 #include "content/child/webmessageportchannel_impl.h" | 41 #include "content/child/webmessageportchannel_impl.h" |
| 43 #include "content/common/content_constants_internal.h" | 42 #include "content/common/content_constants_internal.h" |
| 44 #include "content/common/content_switches_internal.h" | 43 #include "content/common/content_switches_internal.h" |
| 45 #include "content/common/database_messages.h" | 44 #include "content/common/database_messages.h" |
| 46 #include "content/common/dom_storage/dom_storage_types.h" | 45 #include "content/common/dom_storage/dom_storage_types.h" |
| 47 #include "content/common/drag_messages.h" | 46 #include "content/common/drag_messages.h" |
| 48 #include "content/common/frame_messages.h" | 47 #include "content/common/frame_messages.h" |
| 49 #include "content/common/frame_replication_state.h" | 48 #include "content/common/frame_replication_state.h" |
| (...skipping 3277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3327 if (IsUseZoomForDSFEnabled()) { | 3326 if (IsUseZoomForDSFEnabled()) { |
| 3328 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); | 3327 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); |
| 3329 } else { | 3328 } else { |
| 3330 webview()->setDeviceScaleFactor(device_scale_factor_); | 3329 webview()->setDeviceScaleFactor(device_scale_factor_); |
| 3331 } | 3330 } |
| 3332 webview()->settings()->setPreferCompositingToLCDTextEnabled( | 3331 webview()->settings()->setPreferCompositingToLCDTextEnabled( |
| 3333 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); | 3332 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); |
| 3334 } | 3333 } |
| 3335 | 3334 |
| 3336 } // namespace content | 3335 } // namespace content |
| OLD | NEW |