OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 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 #include "cc/content_layer_client.h" |
| 6 |
| 7 namespace WebKitTests { |
| 8 |
| 9 class FakeContentLayerClient : public cc::ContentLayerClient { |
| 10 public: |
| 11 FakeContentLayerClient(); |
| 12 |
| 13 virtual void paintContents(SkCanvas*, const gfx::Rect& rect, gfx::RectF& opa
queRect) OVERRIDE; |
| 14 |
| 15 void setPaintAllOpaque(bool opaque) { m_paintAllOpaque = opaque; } |
| 16 |
| 17 private: |
| 18 bool m_paintAllOpaque; |
| 19 }; |
| 20 |
| 21 } // namespace WebKitTests |
OLD | NEW |