| 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/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> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/json/json_value_serializer.h" | |
| 17 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
| 18 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
| 19 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
| 20 #include "base/path_service.h" | 19 #include "base/path_service.h" |
| 21 #include "base/process_util.h" | 20 #include "base/process_util.h" |
| 22 #include "base/string_piece.h" | 21 #include "base/string_piece.h" |
| 23 #include "base/string_number_conversions.h" | 22 #include "base/string_number_conversions.h" |
| 24 #include "base/string_split.h" | 23 #include "base/string_split.h" |
| 25 #include "base/string_util.h" | 24 #include "base/string_util.h" |
| 26 #include "base/sys_string_conversions.h" | 25 #include "base/sys_string_conversions.h" |
| (...skipping 5046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5073 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 5072 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
| 5074 return !!RenderThreadImpl::current()->compositor_thread(); | 5073 return !!RenderThreadImpl::current()->compositor_thread(); |
| 5075 } | 5074 } |
| 5076 | 5075 |
| 5077 void RenderViewImpl::OnJavaBridgeInit() { | 5076 void RenderViewImpl::OnJavaBridgeInit() { |
| 5078 DCHECK(!java_bridge_dispatcher_.get()); | 5077 DCHECK(!java_bridge_dispatcher_.get()); |
| 5079 #if defined(ENABLE_JAVA_BRIDGE) | 5078 #if defined(ENABLE_JAVA_BRIDGE) |
| 5080 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); | 5079 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); |
| 5081 #endif | 5080 #endif |
| 5082 } | 5081 } |
| OLD | NEW |