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

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: Ready for initial review. 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
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 3356 matching lines...) Expand 10 before | Expand all | Expand 10 after
3367 data.data(), 3367 data.data(),
3368 static_cast<int32>(status))); 3368 static_cast<int32>(status)));
3369 } 3369 }
3370 3370
3371 // content::RenderView implementation ------------------------------------------ 3371 // content::RenderView implementation ------------------------------------------
3372 3372
3373 bool RenderViewImpl::Send(IPC::Message* message) { 3373 bool RenderViewImpl::Send(IPC::Message* message) {
3374 return RenderWidget::Send(message); 3374 return RenderWidget::Send(message);
3375 } 3375 }
3376 3376
3377 int RenderViewImpl::GetRoutingId() const { 3377 int RenderViewImpl::GetRoutingID() const {
3378 return routing_id_; 3378 return routing_id_;
3379 } 3379 }
3380 3380
3381 int RenderViewImpl::GetPageId() { 3381 int RenderViewImpl::GetPageId() {
3382 return page_id_; 3382 return page_id_;
3383 } 3383 }
3384 3384
3385 gfx::Size RenderViewImpl::GetSize() { 3385 gfx::Size RenderViewImpl::GetSize() {
3386 return size(); 3386 return size();
3387 } 3387 }
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
5080 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { 5080 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const {
5081 return !!RenderThreadImpl::current()->compositor_thread(); 5081 return !!RenderThreadImpl::current()->compositor_thread();
5082 } 5082 }
5083 5083
5084 void RenderViewImpl::OnJavaBridgeInit() { 5084 void RenderViewImpl::OnJavaBridgeInit() {
5085 DCHECK(!java_bridge_dispatcher_.get()); 5085 DCHECK(!java_bridge_dispatcher_.get());
5086 #if defined(ENABLE_JAVA_BRIDGE) 5086 #if defined(ENABLE_JAVA_BRIDGE)
5087 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); 5087 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this));
5088 #endif 5088 #endif
5089 } 5089 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698