summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_widget_host_impl_android.cc
blob: 989630723985efa8d8e59070efa1c9a929e30ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/port/browser/render_widget_host_view_port.h"

namespace content {

void RenderWidgetHostImpl::OnMsgUpdateFrameInfo(
    const gfx::Vector2d& scroll_offset,
    float page_scale_factor,
    float min_page_scale_factor,
    float max_page_scale_factor,
    const gfx::Size& content_size) {
  if (view_)
    view_->UpdateFrameInfo(scroll_offset,
                           page_scale_factor,
                           min_page_scale_factor,
                           max_page_scale_factor,
                           content_size);
}

}  // namespace content