blob: e74e3e15211d5675729bea3f8930b5172d57b709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/android/event_handler_android.h"
#include "ui/gfx/geometry/rect.h"
namespace ui {
bool EventHandlerAndroid::OnTouchEvent(const MotionEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::OnMouseEvent(const MotionEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::OnMouseWheelEvent(const MotionEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::OnDragEvent(const DragEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::OnGestureEvent(const GestureEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::OnGenericMotionEvent(
const MotionEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::OnKeyUp(const KeyEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::DispatchKeyEvent(const KeyEventAndroid& event) {
return false;
}
bool EventHandlerAndroid::ScrollBy(float delta_x, float delta_y) {
return false;
}
bool EventHandlerAndroid::ScrollTo(float x, float y) {
return false;
}
void EventHandlerAndroid::OnSizeChanged() {}
void EventHandlerAndroid::OnPhysicalBackingSizeChanged(
base::Optional<base::TimeDelta> deadline_override) {}
void EventHandlerAndroid::OnBrowserControlsHeightChanged() {}
void EventHandlerAndroid::OnControlsResizeViewChanged() {}
void EventHandlerAndroid::NotifyVirtualKeyboardOverlayRect(
const gfx::Rect& keyboard_rect) {}
} // namespace ui
|