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

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

Issue 26664002: SyntheticGestureTarget implementation for injecting synthetic input events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nonstateless Created 7 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
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_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture. h" 10 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture. h"
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 int anchor_y) { 521 int anchor_y) {
522 // There is no generic implementation for pinch gestures. 522 // There is no generic implementation for pinch gestures.
523 NOTIMPLEMENTED(); 523 NOTIMPLEMENTED();
524 return NULL; 524 return NULL;
525 } 525 }
526 526
527 void RenderWidgetHostViewBase::ProcessAckedTouchEvent( 527 void RenderWidgetHostViewBase::ProcessAckedTouchEvent(
528 const TouchEventWithLatencyInfo& touch, InputEventAckState ack_result) { 528 const TouchEventWithLatencyInfo& touch, InputEventAckState ack_result) {
529 } 529 }
530 530
531 void RenderWidgetHostViewBase::QueueInputEventToPlatform(
532 const InputEvent& event) {
533 NOTIMPLEMENTED();
534 }
535
531 // Platform implementation should override this method to allow frame 536 // Platform implementation should override this method to allow frame
532 // subscription. Frame subscriber is set to RenderProcessHost, which is 537 // subscription. Frame subscriber is set to RenderProcessHost, which is
533 // platform independent. It should be set to the specific presenter on each 538 // platform independent. It should be set to the specific presenter on each
534 // platform. 539 // platform.
535 bool RenderWidgetHostViewBase::CanSubscribeFrame() const { 540 bool RenderWidgetHostViewBase::CanSubscribeFrame() const {
536 NOTIMPLEMENTED(); 541 NOTIMPLEMENTED();
537 return false; 542 return false;
538 } 543 }
539 544
540 // Base implementation for this method sets the subscriber to RenderProcessHost, 545 // Base implementation for this method sets the subscriber to RenderProcessHost,
(...skipping 30 matching lines...) Expand all
571 576
572 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { 577 uint32 RenderWidgetHostViewBase::RendererFrameNumber() {
573 return renderer_frame_number_; 578 return renderer_frame_number_;
574 } 579 }
575 580
576 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { 581 void RenderWidgetHostViewBase::DidReceiveRendererFrame() {
577 ++renderer_frame_number_; 582 ++renderer_frame_number_;
578 } 583 }
579 584
580 } // namespace content 585 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698