Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(916)

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 1179653004: Remove non-impl-side painting as an option for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removenoimplblink: . Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/fake_compositor_dependencies.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 static_cast<WebSettings::PointerType>(prefs.primary_pointer_type)); 1034 static_cast<WebSettings::PointerType>(prefs.primary_pointer_type));
1035 settings->setAvailableHoverTypes(prefs.available_hover_types); 1035 settings->setAvailableHoverTypes(prefs.available_hover_types);
1036 settings->setPrimaryHoverType( 1036 settings->setPrimaryHoverType(
1037 static_cast<WebSettings::HoverType>(prefs.primary_hover_type)); 1037 static_cast<WebSettings::HoverType>(prefs.primary_hover_type));
1038 settings->setDeviceSupportsTouch(prefs.device_supports_touch); 1038 settings->setDeviceSupportsTouch(prefs.device_supports_touch);
1039 settings->setDeviceSupportsMouse(prefs.device_supports_mouse); 1039 settings->setDeviceSupportsMouse(prefs.device_supports_mouse);
1040 settings->setEnableTouchAdjustment(prefs.touch_adjustment_enabled); 1040 settings->setEnableTouchAdjustment(prefs.touch_adjustment_enabled);
1041 settings->setMultiTargetTapNotificationEnabled( 1041 settings->setMultiTargetTapNotificationEnabled(
1042 switches::IsLinkDisambiguationPopupEnabled()); 1042 switches::IsLinkDisambiguationPopupEnabled());
1043 1043
1044 settings->setDeferredImageDecodingEnabled( 1044 // TODO(danakj): Remove this it's always true.
1045 prefs.deferred_image_decoding_enabled); 1045 settings->setDeferredImageDecodingEnabled(true);
1046 WebRuntimeFeatures::enableImageColorProfiles( 1046 WebRuntimeFeatures::enableImageColorProfiles(
1047 prefs.image_color_profiles_enabled); 1047 prefs.image_color_profiles_enabled);
1048 settings->setShouldRespectImageOrientation( 1048 settings->setShouldRespectImageOrientation(
1049 prefs.should_respect_image_orientation); 1049 prefs.should_respect_image_orientation);
1050 1050
1051 settings->setUnsafePluginPastingEnabled(false); 1051 settings->setUnsafePluginPastingEnabled(false);
1052 settings->setEditingBehavior( 1052 settings->setEditingBehavior(
1053 static_cast<WebSettings::EditingBehavior>(prefs.editing_behavior)); 1053 static_cast<WebSettings::EditingBehavior>(prefs.editing_behavior));
1054 1054
1055 settings->setSupportsMultipleWindows(prefs.supports_multiple_windows); 1055 settings->setSupportsMultipleWindows(prefs.supports_multiple_windows);
(...skipping 2724 matching lines...) Expand 10 before | Expand all | Expand 10 after
3780 std::vector<gfx::Size> sizes; 3780 std::vector<gfx::Size> sizes;
3781 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); 3781 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes);
3782 if (!url.isEmpty()) 3782 if (!url.isEmpty())
3783 urls.push_back( 3783 urls.push_back(
3784 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); 3784 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes));
3785 } 3785 }
3786 SendUpdateFaviconURL(urls); 3786 SendUpdateFaviconURL(urls);
3787 } 3787 }
3788 3788
3789 } // namespace content 3789 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/fake_compositor_dependencies.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698