| 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> |
| (...skipping 3388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3399 data.data(), | 3399 data.data(), |
| 3400 static_cast<int32>(status))); | 3400 static_cast<int32>(status))); |
| 3401 } | 3401 } |
| 3402 | 3402 |
| 3403 // content::RenderView implementation ------------------------------------------ | 3403 // content::RenderView implementation ------------------------------------------ |
| 3404 | 3404 |
| 3405 bool RenderViewImpl::Send(IPC::Message* message) { | 3405 bool RenderViewImpl::Send(IPC::Message* message) { |
| 3406 return RenderWidget::Send(message); | 3406 return RenderWidget::Send(message); |
| 3407 } | 3407 } |
| 3408 | 3408 |
| 3409 int RenderViewImpl::GetRoutingId() const { | 3409 int RenderViewImpl::GetRoutingID() const { |
| 3410 return routing_id_; | 3410 return routing_id_; |
| 3411 } | 3411 } |
| 3412 | 3412 |
| 3413 int RenderViewImpl::GetPageId() { | 3413 int RenderViewImpl::GetPageId() { |
| 3414 return page_id_; | 3414 return page_id_; |
| 3415 } | 3415 } |
| 3416 | 3416 |
| 3417 gfx::Size RenderViewImpl::GetSize() { | 3417 gfx::Size RenderViewImpl::GetSize() { |
| 3418 return size(); | 3418 return size(); |
| 3419 } | 3419 } |
| (...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5121 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 5121 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
| 5122 return !!RenderThreadImpl::current()->compositor_thread(); | 5122 return !!RenderThreadImpl::current()->compositor_thread(); |
| 5123 } | 5123 } |
| 5124 | 5124 |
| 5125 void RenderViewImpl::OnJavaBridgeInit() { | 5125 void RenderViewImpl::OnJavaBridgeInit() { |
| 5126 DCHECK(!java_bridge_dispatcher_.get()); | 5126 DCHECK(!java_bridge_dispatcher_.get()); |
| 5127 #if defined(ENABLE_JAVA_BRIDGE) | 5127 #if defined(ENABLE_JAVA_BRIDGE) |
| 5128 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); | 5128 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); |
| 5129 #endif | 5129 #endif |
| 5130 } | 5130 } |
| OLD | NEW |