OLD | NEW |
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/browser/renderer_host/render_widget_host_view_android.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
6 | 6 |
7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
8 | 8 |
9 #include "base/android/sys_utils.h" | 9 #include "base/android/sys_utils.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 void RenderWidgetHostViewAndroid::SetHasHorizontalScrollbar( | 1023 void RenderWidgetHostViewAndroid::SetHasHorizontalScrollbar( |
1024 bool has_horizontal_scrollbar) { | 1024 bool has_horizontal_scrollbar) { |
1025 // intentionally empty, like RenderWidgetHostViewViews | 1025 // intentionally empty, like RenderWidgetHostViewViews |
1026 } | 1026 } |
1027 | 1027 |
1028 void RenderWidgetHostViewAndroid::SetScrollOffsetPinning( | 1028 void RenderWidgetHostViewAndroid::SetScrollOffsetPinning( |
1029 bool is_pinned_to_left, bool is_pinned_to_right) { | 1029 bool is_pinned_to_left, bool is_pinned_to_right) { |
1030 // intentionally empty, like RenderWidgetHostViewViews | 1030 // intentionally empty, like RenderWidgetHostViewViews |
1031 } | 1031 } |
1032 | 1032 |
| 1033 void RenderWidgetHostViewAndroid::UnhandledWheelEvent( |
| 1034 const blink::WebMouseWheelEvent& event) { |
| 1035 // intentionally empty, like RenderWidgetHostViewViews |
| 1036 } |
| 1037 |
1033 void RenderWidgetHostViewAndroid::GestureEventAck( | 1038 void RenderWidgetHostViewAndroid::GestureEventAck( |
1034 const blink::WebGestureEvent& event, | 1039 const blink::WebGestureEvent& event, |
1035 InputEventAckState ack_result) { | 1040 InputEventAckState ack_result) { |
1036 if (content_view_core_) | 1041 if (content_view_core_) |
1037 content_view_core_->OnGestureEventAck(event, ack_result); | 1042 content_view_core_->OnGestureEventAck(event, ack_result); |
1038 } | 1043 } |
1039 | 1044 |
1040 InputEventAckState RenderWidgetHostViewAndroid::FilterInputEvent( | 1045 InputEventAckState RenderWidgetHostViewAndroid::FilterInputEvent( |
1041 const blink::WebInputEvent& input_event) { | 1046 const blink::WebInputEvent& input_event) { |
1042 if (content_view_core_ && | 1047 if (content_view_core_ && |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1383 // RenderWidgetHostView, public: | 1388 // RenderWidgetHostView, public: |
1384 | 1389 |
1385 // static | 1390 // static |
1386 RenderWidgetHostView* | 1391 RenderWidgetHostView* |
1387 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { | 1392 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { |
1388 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); | 1393 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); |
1389 return new RenderWidgetHostViewAndroid(rwhi, NULL); | 1394 return new RenderWidgetHostViewAndroid(rwhi, NULL); |
1390 } | 1395 } |
1391 | 1396 |
1392 } // namespace content | 1397 } // namespace content |
OLD | NEW |