flutter_flutter/engine/core/page/PageAnimator.h
Elliott Sprehn 50e7a7c0a0 Rename scheduleAnimation() to scheduleVisualUpdate().
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
2015-01-26 16:09:40 -08:00

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_