mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
It causes a full screen raster right now, lets name it for what it does. This also matches the name used in PageAnimator. Merge WebWidgetClient into WebViewClient. They're always the same thing in sky. I also removed all the methods that don't do anything in sky. R=abarth@chromium.org Review URL: https://codereview.chromium.org/880713003
32 lines
776 B
C++
32 lines
776 B
C++
// Copyright 2014 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.
|
|
|
|
#ifndef SKY_ENGINE_CORE_PAGE_PAGEANIMATOR_H_
|
|
#define SKY_ENGINE_CORE_PAGE_PAGEANIMATOR_H_
|
|
|
|
namespace blink {
|
|
|
|
class LocalFrame;
|
|
class Page;
|
|
|
|
class PageAnimator {
|
|
public:
|
|
explicit PageAnimator(Page*);
|
|
|
|
void scheduleVisualUpdate();
|
|
void serviceScriptedAnimations(double monotonicAnimationStartTime);
|
|
|
|
bool isServicingAnimations() const { return m_servicingAnimations; }
|
|
void updateLayoutAndStyleForPainting(LocalFrame* rootFrame);
|
|
|
|
private:
|
|
Page* m_page;
|
|
bool m_servicingAnimations;
|
|
bool m_updatingLayoutAndStyleForPainting;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // SKY_ENGINE_CORE_PAGE_PAGEANIMATOR_H_
|