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

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

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues Created 4 years, 7 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/mus/compositor_mus_connection.cc ('k') | gpu/gpu_ipc_client.gypi » ('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 #include <memory> 9 #include <memory>
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"
170 #include "ui/base/clipboard/clipboard.h" 170 #include "ui/base/clipboard/clipboard.h"
171 #include "ui/base/ui_base_switches_util.h" 171 #include "ui/base/ui_base_switches_util.h"
172 #include "ui/events/latency_info.h"
173 #include "ui/gfx/geometry/point.h" 172 #include "ui/gfx/geometry/point.h"
174 #include "ui/gfx/geometry/rect.h" 173 #include "ui/gfx/geometry/rect.h"
175 #include "ui/gfx/geometry/rect_conversions.h" 174 #include "ui/gfx/geometry/rect_conversions.h"
176 #include "ui/gfx/geometry/size_conversions.h" 175 #include "ui/gfx/geometry/size_conversions.h"
177 #include "ui/gfx/native_widget_types.h" 176 #include "ui/gfx/native_widget_types.h"
177 #include "ui/latency_info/latency_info.h"
178 #include "url/url_constants.h" 178 #include "url/url_constants.h"
179 #include "v8/include/v8.h" 179 #include "v8/include/v8.h"
180 180
181 #if defined(OS_ANDROID) 181 #if defined(OS_ANDROID)
182 #include <cpu-features.h> 182 #include <cpu-features.h>
183 183
184 #include "content/renderer/android/address_detector.h" 184 #include "content/renderer/android/address_detector.h"
185 #include "content/renderer/android/content_detector.h" 185 #include "content/renderer/android/content_detector.h"
186 #include "content/renderer/android/email_detector.h" 186 #include "content/renderer/android/email_detector.h"
187 #include "content/renderer/android/phone_number_detector.h" 187 #include "content/renderer/android/phone_number_detector.h"
(...skipping 3240 matching lines...) Expand 10 before | Expand all | Expand 10 after
3428 if (IsUseZoomForDSFEnabled()) { 3428 if (IsUseZoomForDSFEnabled()) {
3429 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_); 3429 webview()->setZoomFactorForDeviceScaleFactor(device_scale_factor_);
3430 } else { 3430 } else {
3431 webview()->setDeviceScaleFactor(device_scale_factor_); 3431 webview()->setDeviceScaleFactor(device_scale_factor_);
3432 } 3432 }
3433 webview()->settings()->setPreferCompositingToLCDTextEnabled( 3433 webview()->settings()->setPreferCompositingToLCDTextEnabled(
3434 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_)); 3434 PreferCompositingToLCDText(compositor_deps_, device_scale_factor_));
3435 } 3435 }
3436 3436
3437 } // namespace content 3437 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mus/compositor_mus_connection.cc ('k') | gpu/gpu_ipc_client.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698