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

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

Issue 1764333002: Move WebRuntimeEnabledFeatures to platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing files. Created 4 years, 9 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_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #include "third_party/WebKit/public/platform/FilePathConversion.h" 115 #include "third_party/WebKit/public/platform/FilePathConversion.h"
116 #include "third_party/WebKit/public/platform/URLConversion.h" 116 #include "third_party/WebKit/public/platform/URLConversion.h"
117 #include "third_party/WebKit/public/platform/WebCString.h" 117 #include "third_party/WebKit/public/platform/WebCString.h"
118 #include "third_party/WebKit/public/platform/WebConnectionType.h" 118 #include "third_party/WebKit/public/platform/WebConnectionType.h"
119 #include "third_party/WebKit/public/platform/WebDragData.h" 119 #include "third_party/WebKit/public/platform/WebDragData.h"
120 #include "third_party/WebKit/public/platform/WebHTTPBody.h" 120 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
121 #include "third_party/WebKit/public/platform/WebImage.h" 121 #include "third_party/WebKit/public/platform/WebImage.h"
122 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" 122 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
123 #include "third_party/WebKit/public/platform/WebPoint.h" 123 #include "third_party/WebKit/public/platform/WebPoint.h"
124 #include "third_party/WebKit/public/platform/WebRect.h" 124 #include "third_party/WebKit/public/platform/WebRect.h"
125 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h"
125 #include "third_party/WebKit/public/platform/WebSize.h" 126 #include "third_party/WebKit/public/platform/WebSize.h"
126 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" 127 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h"
127 #include "third_party/WebKit/public/platform/WebString.h" 128 #include "third_party/WebKit/public/platform/WebString.h"
128 #include "third_party/WebKit/public/platform/WebURL.h" 129 #include "third_party/WebKit/public/platform/WebURL.h"
129 #include "third_party/WebKit/public/platform/WebURLError.h" 130 #include "third_party/WebKit/public/platform/WebURLError.h"
130 #include "third_party/WebKit/public/platform/WebURLRequest.h" 131 #include "third_party/WebKit/public/platform/WebURLRequest.h"
131 #include "third_party/WebKit/public/platform/WebURLResponse.h" 132 #include "third_party/WebKit/public/platform/WebURLResponse.h"
132 #include "third_party/WebKit/public/platform/WebVector.h" 133 #include "third_party/WebKit/public/platform/WebVector.h"
133 #include "third_party/WebKit/public/web/WebAXObject.h" 134 #include "third_party/WebKit/public/web/WebAXObject.h"
134 #include "third_party/WebKit/public/web/WebColorSuggestion.h" 135 #include "third_party/WebKit/public/web/WebColorSuggestion.h"
(...skipping 14 matching lines...) Expand all
149 #include "third_party/WebKit/public/web/WebHitTestResult.h" 150 #include "third_party/WebKit/public/web/WebHitTestResult.h"
150 #include "third_party/WebKit/public/web/WebInputElement.h" 151 #include "third_party/WebKit/public/web/WebInputElement.h"
151 #include "third_party/WebKit/public/web/WebInputEvent.h" 152 #include "third_party/WebKit/public/web/WebInputEvent.h"
152 #include "third_party/WebKit/public/web/WebLocalFrame.h" 153 #include "third_party/WebKit/public/web/WebLocalFrame.h"
153 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" 154 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h"
154 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" 155 #include "third_party/WebKit/public/web/WebNavigationPolicy.h"
155 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h" 156 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h"
156 #include "third_party/WebKit/public/web/WebPlugin.h" 157 #include "third_party/WebKit/public/web/WebPlugin.h"
157 #include "third_party/WebKit/public/web/WebPluginAction.h" 158 #include "third_party/WebKit/public/web/WebPluginAction.h"
158 #include "third_party/WebKit/public/web/WebRange.h" 159 #include "third_party/WebKit/public/web/WebRange.h"
159 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
160 #include "third_party/WebKit/public/web/WebScriptSource.h" 160 #include "third_party/WebKit/public/web/WebScriptSource.h"
161 #include "third_party/WebKit/public/web/WebSearchableFormData.h" 161 #include "third_party/WebKit/public/web/WebSearchableFormData.h"
162 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" 162 #include "third_party/WebKit/public/web/WebSecurityPolicy.h"
163 #include "third_party/WebKit/public/web/WebSettings.h" 163 #include "third_party/WebKit/public/web/WebSettings.h"
164 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" 164 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
165 #include "third_party/WebKit/public/web/WebView.h" 165 #include "third_party/WebKit/public/web/WebView.h"
166 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 166 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
167 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" 167 #include "third_party/WebKit/public/web/default/WebRenderTheme.h"
168 #include "third_party/icu/source/common/unicode/uchar.h" 168 #include "third_party/icu/source/common/unicode/uchar.h"
169 #include "third_party/icu/source/common/unicode/uscript.h" 169 #include "third_party/icu/source/common/unicode/uscript.h"
(...skipping 3375 matching lines...) Expand 10 before | Expand all | Expand 10 after
3545 if (IsUseZoomForDSFEnabled()) { 3545 if (IsUseZoomForDSFEnabled()) {
3546 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); 3546 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_);
3547 } else { 3547 } else {
3548 webview()->setDeviceScaleFactor(device_scale_factor_); 3548 webview()->setDeviceScaleFactor(device_scale_factor_);
3549 } 3549 }
3550 webview()->settings()->setPreferCompositingToLCDTextEnabled( 3550 webview()->settings()->setPreferCompositingToLCDTextEnabled(
3551 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); 3551 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_));
3552 } 3552 }
3553 3553
3554 } // namespace content 3554 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698