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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1410313006: Separate RenderViewHost from RenderWidgetHost, part 5: move calls to the RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 9a7611bdd0e1692c3a713484147034cec2cf5ad5..9a503f82d8ebe9fa9bb679b976d56295a3a6820a 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -1130,10 +1130,6 @@ void RenderViewHostImpl::OnDidContentsPreferredSizeChange(
delegate_->UpdatePreferredSize(new_size);
}
-void RenderViewHostImpl::OnRenderAutoResized(const gfx::Size& new_size) {
- delegate_->ResizeDueToAutoResize(new_size);
-}
-
void RenderViewHostImpl::OnRouteCloseEvent() {
// Have the delegate route this to the active RenderViewHost.
delegate_->RouteCloseEvent(this);
@@ -1235,28 +1231,11 @@ void RenderViewHostImpl::OnFocusedNodeChanged(
Details<FocusedNodeDetails>(&details));
}
-void RenderViewHostImpl::OnUserGesture() {
- delegate_->OnUserGesture();
-}
-
void RenderViewHostImpl::OnClosePageACK() {
GetWidget()->decrement_in_flight_event_count();
ClosePageIgnoringUnloadEvents();
}
-void RenderViewHostImpl::NotifyRendererUnresponsive() {
- delegate_->RendererUnresponsive(this);
-}
-
-void RenderViewHostImpl::NotifyRendererResponsive() {
- delegate_->RendererResponsive(this);
-}
-
-void RenderViewHostImpl::RequestToLockMouse(bool user_gesture,
- bool last_unlocked_by_target) {
- delegate_->RequestToLockMouse(user_gesture, last_unlocked_by_target);
-}
-
bool RenderViewHostImpl::IsFullscreenGranted() const {
return delegate_->IsFullscreenForCurrentTab();
}
@@ -1271,10 +1250,6 @@ void RenderViewHostImpl::OnFocus() {
delegate_->Activate();
}
-gfx::Rect RenderViewHostImpl::GetRootWindowResizerRect() const {
- return delegate_->GetRootWindowResizerRect();
-}
-
void RenderViewHostImpl::ForwardMouseEvent(
const blink::WebMouseEvent& mouse_event) {
RenderWidgetHostImpl::ForwardMouseEvent(mouse_event);
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698