chromium/third_party/blink/renderer/core/frame/browser_controls.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/frame/browser_controls.h"

#include <algorithm>  // for std::min and std::max

#include "third_party/blink/renderer/core/page/chrome_client.h"
#include "third_party/blink/renderer/core/page/page.h"

namespace blink {

BrowserControls::BrowserControls(const Page& page)
    :{}

void BrowserControls::Trace(Visitor* visitor) const {}

void BrowserControls::ResetBaseline() {}

float BrowserControls::UnreportedSizeAdjustment() {}

float BrowserControls::ContentOffset() {}

// Even though this is called *ContentOffset, the value from here isn't used to
// offset the content because only the top controls should do that. For now, the
// BottomContentOffset is the baseline offset when we don't have top controls.
float BrowserControls::BottomContentOffset() {}

void BrowserControls::SetShownRatio(float top_ratio, float bottom_ratio) {}

void BrowserControls::UpdateConstraintsAndState(
    cc::BrowserControlsState constraints,
    cc::BrowserControlsState current) {}

void BrowserControls::SetParams(cc::BrowserControlsParams params) {}

float BrowserControls::TopMinShownRatio() {}

float BrowserControls::BottomMinShownRatio() {}

}  // namespace blink