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

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, fix a weird runtime issue. 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 3374 matching lines...) Expand 10 before | Expand all | Expand 10 after
3385 data.data(), 3385 data.data(),
3386 static_cast<int32>(status))); 3386 static_cast<int32>(status)));
3387 } 3387 }
3388 3388
3389 // content::RenderView implementation ------------------------------------------ 3389 // content::RenderView implementation ------------------------------------------
3390 3390
3391 bool RenderViewImpl::Send(IPC::Message* message) { 3391 bool RenderViewImpl::Send(IPC::Message* message) {
3392 return RenderWidget::Send(message); 3392 return RenderWidget::Send(message);
3393 } 3393 }
3394 3394
3395 int RenderViewImpl::GetRoutingId() const { 3395 int RenderViewImpl::GetRoutingID() const {
3396 return routing_id_; 3396 return routing_id_;
3397 } 3397 }
3398 3398
3399 int RenderViewImpl::GetPageId() { 3399 int RenderViewImpl::GetPageId() {
3400 return page_id_; 3400 return page_id_;
3401 } 3401 }
3402 3402
3403 gfx::Size RenderViewImpl::GetSize() { 3403 gfx::Size RenderViewImpl::GetSize() {
3404 return size(); 3404 return size();
3405 } 3405 }
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
5098 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { 5098 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const {
5099 return !!RenderThreadImpl::current()->compositor_thread(); 5099 return !!RenderThreadImpl::current()->compositor_thread();
5100 } 5100 }
5101 5101
5102 void RenderViewImpl::OnJavaBridgeInit() { 5102 void RenderViewImpl::OnJavaBridgeInit() {
5103 DCHECK(!java_bridge_dispatcher_.get()); 5103 DCHECK(!java_bridge_dispatcher_.get());
5104 #if defined(ENABLE_JAVA_BRIDGE) 5104 #if defined(ENABLE_JAVA_BRIDGE)
5105 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this)); 5105 java_bridge_dispatcher_.reset(new JavaBridgeDispatcher(this));
5106 #endif 5106 #endif
5107 } 5107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698