// 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. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_BROWSER_CONTROLS_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_BROWSER_CONTROLS_H_ #include "cc/input/browser_controls_state.h" #include "cc/trees/browser_controls_params.h" #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" #include "third_party/blink/renderer/platform/heap/member.h" namespace blink { class Page; // This class encapsulate data and logic required to show/hide browser controls // duplicating cc::BrowserControlsOffsetManager behaviour. Browser controls' // self-animation to completion is still handled by compositor and kicks in // when scrolling is complete (i.e, upon ScrollEnd or FlingEnd). Browser // controls can exist at the top or bottom of the screen and potentially at the // same time. Bottom controls differ from top in that, if they exist alone, // never translate the content down and scroll immediately, regardless of the // controls' offset. class CORE_EXPORT BrowserControls final : public GarbageCollected<BrowserControls> { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_BROWSER_CONTROLS_H_