OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "cc/surfaces/surface.h" | 9 #include "cc/surfaces/surface.h" |
10 #include "cc/surfaces/surface_factory.h" | 10 #include "cc/surfaces/surface_factory.h" |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 | 519 |
520 #endif // defined(OS_MACOSX) | 520 #endif // defined(OS_MACOSX) |
521 | 521 |
522 #if defined(OS_ANDROID) || defined(USE_AURA) | 522 #if defined(OS_ANDROID) || defined(USE_AURA) |
523 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 523 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
524 const gfx::Rect& rect_pixels, | 524 const gfx::Rect& rect_pixels, |
525 const SkBitmap& zoomed_bitmap) { | 525 const SkBitmap& zoomed_bitmap) { |
526 } | 526 } |
527 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 527 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
528 | 528 |
529 #if defined(OS_ANDROID) | 529 #if defined(OS_ANDROID) && !defined(USE_AURA) |
530 void RenderWidgetHostViewGuest::LockCompositingSurface() { | 530 void RenderWidgetHostViewGuest::LockCompositingSurface() { |
531 } | 531 } |
532 | 532 |
533 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { | 533 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { |
534 } | 534 } |
535 #endif // defined(OS_ANDROID) | 535 #endif // defined(OS_ANDROID) |
536 | 536 |
537 #if defined(OS_WIN) | 537 #if defined(OS_WIN) |
538 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( | 538 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( |
539 gfx::NativeViewAccessible accessible_parent) { | 539 gfx::NativeViewAccessible accessible_parent) { |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && | 717 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && |
718 gesture_event.data.scrollUpdate.inertial) { | 718 gesture_event.data.scrollUpdate.inertial) { |
719 return; | 719 return; |
720 } | 720 } |
721 host_->ForwardGestureEvent(gesture_event); | 721 host_->ForwardGestureEvent(gesture_event); |
722 return; | 722 return; |
723 } | 723 } |
724 } | 724 } |
725 | 725 |
726 } // namespace content | 726 } // namespace content |
OLD | NEW |