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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 227043012: mac: History swiping doesn't work right with iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comment from avi. Created 6 years, 8 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 (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
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
1038 void RenderWidgetHostViewAndroid::GestureEventAck( 1033 void RenderWidgetHostViewAndroid::GestureEventAck(
1039 const blink::WebGestureEvent& event, 1034 const blink::WebGestureEvent& event,
1040 InputEventAckState ack_result) { 1035 InputEventAckState ack_result) {
1041 if (content_view_core_) 1036 if (content_view_core_)
1042 content_view_core_->OnGestureEventAck(event, ack_result); 1037 content_view_core_->OnGestureEventAck(event, ack_result);
1043 } 1038 }
1044 1039
1045 InputEventAckState RenderWidgetHostViewAndroid::FilterInputEvent( 1040 InputEventAckState RenderWidgetHostViewAndroid::FilterInputEvent(
1046 const blink::WebInputEvent& input_event) { 1041 const blink::WebInputEvent& input_event) {
1047 if (content_view_core_ && 1042 if (content_view_core_ &&
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 // RenderWidgetHostView, public: 1383 // RenderWidgetHostView, public:
1389 1384
1390 // static 1385 // static
1391 RenderWidgetHostView* 1386 RenderWidgetHostView*
1392 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { 1387 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) {
1393 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); 1388 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
1394 return new RenderWidgetHostViewAndroid(rwhi, NULL); 1389 return new RenderWidgetHostViewAndroid(rwhi, NULL);
1395 } 1390 }
1396 1391
1397 } // namespace content 1392 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698