| 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 "content/browser/frame_host/render_widget_host_view_guest.h" | 5 #include "content/browser/frame_host/render_widget_host_view_guest.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 504 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
| 505 | 505 |
| 506 void RenderWidgetHostViewGuest::LockCompositingSurface() { | 506 void RenderWidgetHostViewGuest::LockCompositingSurface() { |
| 507 NOTIMPLEMENTED(); | 507 NOTIMPLEMENTED(); |
| 508 } | 508 } |
| 509 | 509 |
| 510 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { | 510 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { |
| 511 NOTIMPLEMENTED(); | 511 NOTIMPLEMENTED(); |
| 512 } | 512 } |
| 513 | 513 |
| 514 #if defined(OS_WIN) | |
| 515 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( | |
| 516 gfx::NativeViewAccessible accessible_parent) { | |
| 517 } | |
| 518 #endif | |
| 519 | |
| 520 void RenderWidgetHostViewGuest::DestroyGuestView() { | 514 void RenderWidgetHostViewGuest::DestroyGuestView() { |
| 521 // Let our observers know we're going away, since we don't want any event | 515 // Let our observers know we're going away, since we don't want any event |
| 522 // processing calls coming in after we release host_. | 516 // processing calls coming in after we release host_. |
| 523 NotifyObserversAboutShutdown(); | 517 NotifyObserversAboutShutdown(); |
| 524 | 518 |
| 525 host_->SetView(NULL); | 519 host_->SetView(NULL); |
| 526 host_ = NULL; | 520 host_ = NULL; |
| 527 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 521 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
| 528 } | 522 } |
| 529 | 523 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && | 614 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && |
| 621 gesture_event.data.scrollUpdate.inertial) { | 615 gesture_event.data.scrollUpdate.inertial) { |
| 622 return; | 616 return; |
| 623 } | 617 } |
| 624 host_->ForwardGestureEvent(gesture_event); | 618 host_->ForwardGestureEvent(gesture_event); |
| 625 return; | 619 return; |
| 626 } | 620 } |
| 627 } | 621 } |
| 628 | 622 |
| 629 } // namespace content | 623 } // namespace content |
| OLD | NEW |