| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 4704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4715 OnMouseCaptureLost(); | 4715 OnMouseCaptureLost(); |
| 4716 | 4716 |
| 4717 pepper_delegate_.OnLockMouseACK(succeeded); | 4717 pepper_delegate_.OnLockMouseACK(succeeded); |
| 4718 } | 4718 } |
| 4719 | 4719 |
| 4720 void RenderViewImpl::OnMouseLockLost() { | 4720 void RenderViewImpl::OnMouseLockLost() { |
| 4721 pepper_delegate_.OnMouseLockLost(); | 4721 pepper_delegate_.OnMouseLockLost(); |
| 4722 } | 4722 } |
| 4723 | 4723 |
| 4724 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 4724 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
| 4725 return RenderThreadImpl::current()->compositor_thread(); | 4725 return !!RenderThreadImpl::current()->compositor_thread(); |
| 4726 } | 4726 } |
| 4727 | 4727 |
| 4728 void RenderViewImpl::OnJavaBridgeInit( | 4728 void RenderViewImpl::OnJavaBridgeInit( |
| 4729 const IPC::ChannelHandle& channel_handle) { | 4729 const IPC::ChannelHandle& channel_handle) { |
| 4730 DCHECK(!java_bridge_dispatcher_.get()); | 4730 DCHECK(!java_bridge_dispatcher_.get()); |
| 4731 #if defined(ENABLE_JAVA_BRIDGE) | 4731 #if defined(ENABLE_JAVA_BRIDGE) |
| 4732 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this, channel_handle)); | 4732 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this, channel_handle)); |
| 4733 #endif | 4733 #endif |
| 4734 } | 4734 } |
| OLD | NEW |