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

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

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 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
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 #include "third_party/WebKit/public/web/WebSearchableFormData.h" 160 #include "third_party/WebKit/public/web/WebSearchableFormData.h"
161 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" 161 #include "third_party/WebKit/public/web/WebSecurityPolicy.h"
162 #include "third_party/WebKit/public/web/WebSettings.h" 162 #include "third_party/WebKit/public/web/WebSettings.h"
163 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" 163 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
164 #include "third_party/WebKit/public/web/WebView.h" 164 #include "third_party/WebKit/public/web/WebView.h"
165 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 165 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
166 #include "third_party/icu/source/common/unicode/uchar.h" 166 #include "third_party/icu/source/common/unicode/uchar.h"
167 #include "third_party/icu/source/common/unicode/uscript.h" 167 #include "third_party/icu/source/common/unicode/uscript.h"
168 #include "third_party/skia/include/core/SkColor.h" 168 #include "third_party/skia/include/core/SkColor.h"
169 #include "ui/base/ui_base_switches_util.h" 169 #include "ui/base/ui_base_switches_util.h"
170 #include "ui/events/latency_info.h"
171 #include "ui/gfx/geometry/point.h" 170 #include "ui/gfx/geometry/point.h"
172 #include "ui/gfx/geometry/rect.h" 171 #include "ui/gfx/geometry/rect.h"
173 #include "ui/gfx/geometry/rect_conversions.h" 172 #include "ui/gfx/geometry/rect_conversions.h"
174 #include "ui/gfx/geometry/size_conversions.h" 173 #include "ui/gfx/geometry/size_conversions.h"
175 #include "ui/gfx/native_widget_types.h" 174 #include "ui/gfx/native_widget_types.h"
175 #include "ui/latency/latency_info.h"
176 #include "url/origin.h" 176 #include "url/origin.h"
177 #include "url/url_constants.h" 177 #include "url/url_constants.h"
178 #include "v8/include/v8.h" 178 #include "v8/include/v8.h"
179 179
180 #if defined(OS_ANDROID) 180 #if defined(OS_ANDROID)
181 #include <cpu-features.h> 181 #include <cpu-features.h>
182 182
183 #include "base/android/build_info.h" 183 #include "base/android/build_info.h"
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"
(...skipping 2566 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2752 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2753 } 2753 }
2754 2754
2755 std::unique_ptr<InputEventAck> ack( 2755 std::unique_ptr<InputEventAck> ack(
2756 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2756 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2757 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2757 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2758 OnInputEventAck(std::move(ack)); 2758 OnInputEventAck(std::move(ack));
2759 } 2759 }
2760 2760
2761 } // namespace content 2761 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/input/scoped_web_input_event_with_latency_info.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698