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

Side by Side Diff: content/renderer/mus/compositor_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/compositor_mus_connection.h" 5 #include "content/renderer/mus/compositor_mus_connection.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "content/common/input/web_input_event_traits.h" 8 #include "content/common/input/web_input_event_traits.h"
9 #include "content/renderer/input/input_handler_manager.h" 9 #include "content/renderer/input/input_handler_manager.h"
10 #include "content/renderer/mus/render_widget_mus_connection.h" 10 #include "content/renderer/mus/render_widget_mus_connection.h"
11 #include "mojo/converters/blink/blink_input_events_type_converters.h" 11 #include "mojo/converters/blink/blink_input_events_type_converters.h"
12 #include "ui/events/blink/did_overscroll_params.h"
12 #include "ui/events/latency_info.h" 13 #include "ui/events/latency_info.h"
13 #include "ui/events/mojo/event.mojom.h" 14 #include "ui/events/mojo/event.mojom.h"
14 15
15 using ui::mojom::EventResult; 16 using ui::mojom::EventResult;
16 17
17 namespace { 18 namespace {
18 19
19 void DoNothingWithEventResult(EventResult result) {} 20 void DoNothingWithEventResult(EventResult result) {}
20 21
21 } // namespace 22 } // namespace
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 this, *ack_callback->get()); 149 this, *ack_callback->get());
149 ack_callback->reset(); 150 ack_callback->reset();
150 } 151 }
151 main_task_runner_->PostTask( 152 main_task_runner_->PostTask(
152 FROM_HERE, 153 FROM_HERE,
153 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this, 154 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this,
154 base::Passed(std::move(web_event)), ack)); 155 base::Passed(std::move(web_event)), ack));
155 } 156 }
156 157
157 } // namespace content 158 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698