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_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 Loading... | |
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 Loading... | |
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 |
OLD | NEW |