Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/shell/layout_test_controller_bindings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/shell/layout_test_controller_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698