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

Side by Side Diff: content/renderer/mus/render_widget_mus_connection.cc

Issue 2240273002: Move |DidOverscrollParams| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DidOverscrollParams to ui:: Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/mus/render_widget_mus_connection.h" 5 #include "content/renderer/mus/render_widget_mus_connection.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const gfx::Vector2dF& wheel_unused_delta, 93 const gfx::Vector2dF& wheel_unused_delta,
94 bool event_processed) { 94 bool event_processed) {
95 NOTIMPLEMENTED(); 95 NOTIMPLEMENTED();
96 } 96 }
97 97
98 void RenderWidgetMusConnection::OnDidHandleKeyEvent() { 98 void RenderWidgetMusConnection::OnDidHandleKeyEvent() {
99 NOTIMPLEMENTED(); 99 NOTIMPLEMENTED();
100 } 100 }
101 101
102 void RenderWidgetMusConnection::OnDidOverscroll( 102 void RenderWidgetMusConnection::OnDidOverscroll(
103 const DidOverscrollParams& params) { 103 const ui::DidOverscrollParams& params) {
104 NOTIMPLEMENTED(); 104 NOTIMPLEMENTED();
105 } 105 }
106 106
107 void RenderWidgetMusConnection::OnInputEventAck( 107 void RenderWidgetMusConnection::OnInputEventAck(
108 std::unique_ptr<InputEventAck> input_event_ack) { 108 std::unique_ptr<InputEventAck> input_event_ack) {
109 DCHECK(!pending_ack_.is_null()); 109 DCHECK(!pending_ack_.is_null());
110 pending_ack_.Run(input_event_ack->state == 110 pending_ack_.Run(input_event_ack->state ==
111 InputEventAckState::INPUT_EVENT_ACK_STATE_CONSUMED 111 InputEventAckState::INPUT_EVENT_ACK_STATE_CONSUMED
112 ? ui::mojom::EventResult::HANDLED 112 ? ui::mojom::EventResult::HANDLED
113 : ui::mojom::EventResult::UNHANDLED); 113 : ui::mojom::EventResult::UNHANDLED);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // previous event. 166 // previous event.
167 // DCHECK(pending_ack_.is_null()); 167 // DCHECK(pending_ack_.is_null());
168 pending_ack_ = ack; 168 pending_ack_ = ack;
169 // TODO(fsamuel, sadrul): Track real latency info. 169 // TODO(fsamuel, sadrul): Track real latency info.
170 ui::LatencyInfo latency_info; 170 ui::LatencyInfo latency_info;
171 input_handler_->HandleInputEvent(*input_event, latency_info, 171 input_handler_->HandleInputEvent(*input_event, latency_info,
172 DISPATCH_TYPE_BLOCKING); 172 DISPATCH_TYPE_BLOCKING);
173 } 173 }
174 174
175 } // namespace content 175 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698