1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SimLayerTreeView_h
6 #define SimLayerTreeView_h
8 #include "public/platform/WebLayerTreeView.h"
9 #include "wtf/OwnPtr.h"
13 class SimLayerTreeView final
: public WebLayerTreeView
{
17 void setNeedsAnimate() override
{ m_needsAnimate
= true; }
18 bool needsAnimate() const { return m_needsAnimate
; }
19 void clearNeedsAnimate() { m_needsAnimate
= false; }
21 void setDeferCommits(bool deferCommits
) override
{ m_deferCommits
= deferCommits
; }
22 bool deferCommits() const { return m_deferCommits
; }