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 4792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4803 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 4803 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
4804 return !!RenderThreadImpl::current()->compositor_thread(); | 4804 return !!RenderThreadImpl::current()->compositor_thread(); |
4805 } | 4805 } |
4806 | 4806 |
4807 void RenderViewImpl::OnJavaBridgeInit() { | 4807 void RenderViewImpl::OnJavaBridgeInit() { |
4808 DCHECK(!java_bridge_dispatcher_.get()); | 4808 DCHECK(!java_bridge_dispatcher_.get()); |
4809 #if defined(ENABLE_JAVA_BRIDGE) | 4809 #if defined(ENABLE_JAVA_BRIDGE) |
4810 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); | 4810 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); |
4811 #endif | 4811 #endif |
4812 } | 4812 } |
| 4813 |
OLD | NEW |