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

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: rebase_wip Created 7 years, 1 month 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 SyntheticGestureTarget*
532 RenderWidgetHostViewBase::CreateSyntheticGestureTarget() {
533 NOTIMPLEMENTED();
Dominik Grewe 2013/10/25 16:10:11 Here's where you would return SyntheticGestureTarg
kouhei (in TOK) 2013/10/28 03:03:17 Done.
534 return NULL;
535 }
536
531 // Platform implementation should override this method to allow frame 537 // Platform implementation should override this method to allow frame
532 // subscription. Frame subscriber is set to RenderProcessHost, which is 538 // subscription. Frame subscriber is set to RenderProcessHost, which is
533 // platform independent. It should be set to the specific presenter on each 539 // platform independent. It should be set to the specific presenter on each
534 // platform. 540 // platform.
535 bool RenderWidgetHostViewBase::CanSubscribeFrame() const { 541 bool RenderWidgetHostViewBase::CanSubscribeFrame() const {
536 NOTIMPLEMENTED(); 542 NOTIMPLEMENTED();
537 return false; 543 return false;
538 } 544 }
539 545
540 // Base implementation for this method sets the subscriber to RenderProcessHost, 546 // Base implementation for this method sets the subscriber to RenderProcessHost,
(...skipping 30 matching lines...) Expand all
571 577
572 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { 578 uint32 RenderWidgetHostViewBase::RendererFrameNumber() {
573 return renderer_frame_number_; 579 return renderer_frame_number_;
574 } 580 }
575 581
576 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { 582 void RenderWidgetHostViewBase::DidReceiveRendererFrame() {
577 ++renderer_frame_number_; 583 ++renderer_frame_number_;
578 } 584 }
579 585
580 } // namespace content 586 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698