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

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

Issue 11028144: touch: Cleanup touch-event mode switching on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 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 | Annotate | Revision Log
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // as we are returning the WebView and not root window bounds. 367 // as we are returning the WebView and not root window bounds.
368 gfx::Rect RenderWidgetHostViewAndroid::GetBoundsInRootWindow() { 368 gfx::Rect RenderWidgetHostViewAndroid::GetBoundsInRootWindow() {
369 return GetViewBounds(); 369 return GetViewBounds();
370 } 370 }
371 371
372 void RenderWidgetHostViewAndroid::UnhandledWheelEvent( 372 void RenderWidgetHostViewAndroid::UnhandledWheelEvent(
373 const WebKit::WebMouseWheelEvent& event) { 373 const WebKit::WebMouseWheelEvent& event) {
374 // intentionally empty, like RenderWidgetHostViewViews 374 // intentionally empty, like RenderWidgetHostViewViews
375 } 375 }
376 376
377 void RenderWidgetHostViewAndroid::ProcessTouchAck( 377 void RenderWidgetHostViewAndroid::ProcessTouchAck(bool processed) {
378 WebKit::WebInputEvent::Type type, bool processed) {
379 // intentionally empty, like RenderWidgetHostViewViews 378 // intentionally empty, like RenderWidgetHostViewViews
380 } 379 }
381 380
382 void RenderWidgetHostViewAndroid::SetHasHorizontalScrollbar( 381 void RenderWidgetHostViewAndroid::SetHasHorizontalScrollbar(
383 bool has_horizontal_scrollbar) { 382 bool has_horizontal_scrollbar) {
384 // intentionally empty, like RenderWidgetHostViewViews 383 // intentionally empty, like RenderWidgetHostViewViews
385 } 384 }
386 385
387 void RenderWidgetHostViewAndroid::SetScrollOffsetPinning( 386 void RenderWidgetHostViewAndroid::SetScrollOffsetPinning(
388 bool is_pinned_to_left, bool is_pinned_to_right) { 387 bool is_pinned_to_left, bool is_pinned_to_right) {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // RenderWidgetHostView, public: 501 // RenderWidgetHostView, public:
503 502
504 // static 503 // static
505 RenderWidgetHostView* 504 RenderWidgetHostView*
506 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { 505 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) {
507 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); 506 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
508 return new RenderWidgetHostViewAndroid(rwhi, NULL); 507 return new RenderWidgetHostViewAndroid(rwhi, NULL);
509 } 508 }
510 509
511 } // namespace content 510 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698