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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/renderer_host/input/input_router_impl.h" 5 #include "content/browser/renderer_host/input/input_router_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 if (ack.overscroll) { 448 if (ack.overscroll) {
449 DCHECK(ack.type == WebInputEvent::MouseWheel || 449 DCHECK(ack.type == WebInputEvent::MouseWheel ||
450 ack.type == WebInputEvent::GestureScrollUpdate); 450 ack.type == WebInputEvent::GestureScrollUpdate);
451 OnDidOverscroll(*ack.overscroll); 451 OnDidOverscroll(*ack.overscroll);
452 } 452 }
453 453
454 ProcessInputEventAck(ack.type, ack.state, ack.latency, 454 ProcessInputEventAck(ack.type, ack.state, ack.latency,
455 ack.unique_touch_event_id, RENDERER); 455 ack.unique_touch_event_id, RENDERER);
456 } 456 }
457 457
458 void InputRouterImpl::OnDidOverscroll(const DidOverscrollParams& params) { 458 void InputRouterImpl::OnDidOverscroll(const ui::DidOverscrollParams& params) {
459 client_->DidOverscroll(params); 459 client_->DidOverscroll(params);
460 } 460 }
461 461
462 void InputRouterImpl::OnMsgMoveCaretAck() { 462 void InputRouterImpl::OnMsgMoveCaretAck() {
463 move_caret_pending_ = false; 463 move_caret_pending_ = false;
464 if (next_move_caret_) 464 if (next_move_caret_)
465 SendMoveCaret(std::move(next_move_caret_)); 465 SendMoveCaret(std::move(next_move_caret_));
466 } 466 }
467 467
468 void InputRouterImpl::OnSelectMessageAck() { 468 void InputRouterImpl::OnSelectMessageAck() {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 632
633 flush_requested_ = false; 633 flush_requested_ = false;
634 client_->DidFlush(); 634 client_->DidFlush();
635 } 635 }
636 636
637 void InputRouterImpl::SetFrameTreeNodeId(int frameTreeNodeId) { 637 void InputRouterImpl::SetFrameTreeNodeId(int frameTreeNodeId) {
638 frame_tree_node_id_ = frameTreeNodeId; 638 frame_tree_node_id_ = frameTreeNodeId;
639 } 639 }
640 640
641 } // namespace content 641 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698