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 24 matching lines...) Expand all Loading... |
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" | 39 #include "content/child/npapi/webplugin_delegate_impl.h" |
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" | |
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" |
50 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 49 #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" |
(...skipping 3396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3452 if (IsUseZoomForDSFEnabled()) { | 3451 if (IsUseZoomForDSFEnabled()) { |
3453 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); | 3452 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); |
3454 } else { | 3453 } else { |
3455 webview()->setDeviceScaleFactor(device_scale_factor_); | 3454 webview()->setDeviceScaleFactor(device_scale_factor_); |
3456 } | 3455 } |
3457 webview()->settings()->setPreferCompositingToLCDTextEnabled( | 3456 webview()->settings()->setPreferCompositingToLCDTextEnabled( |
3458 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); | 3457 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); |
3459 } | 3458 } |
3460 | 3459 |
3461 } // namespace content | 3460 } // namespace content |
OLD | NEW |