Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Side by Side Diff: Source/web/tests/sim/SimLayerTreeView.h

Issue 1313013005: Add a test that we resume commits after inserting the body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: dcheng@ review Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef SimLayerTreeView_h
6 #define SimLayerTreeView_h
7
8 #include "public/platform/WebLayerTreeView.h"
9 #include "wtf/OwnPtr.h"
10
11 namespace blink {
12
13 class SimLayerTreeView : public WebLayerTreeView {
14 public:
15 SimLayerTreeView();
16
17 void setNeedsAnimate() override { m_needsAnimate = true; }
18 bool needsAnimate() const { return m_needsAnimate; }
19
20 void setDeferCommits(bool deferCommits) override { m_deferCommits = deferCom mits; }
21 bool deferCommits() const { return m_deferCommits; }
22
23 private:
24 bool m_needsAnimate;
25 bool m_deferCommits;
26 };
27
28 } // namespace blink
29
30 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/DocumentLoadingRenderingTest.cpp ('k') | Source/web/tests/sim/SimLayerTreeView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698