Honor owner tap-to-click and mouse buttons swap on login screen
[chromium-blink-merge.git] / cc / CCSolidColorDrawQuad.h
bloba14c81ade03ac12814696addd751ebb4765e00a1
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.
5 #ifndef CCSolidColorDrawQuad_h
6 #define CCSolidColorDrawQuad_h
8 #include "CCDrawQuad.h"
9 #include "SkColor.h"
10 #include <wtf/PassOwnPtr.h>
12 namespace WebCore {
14 #pragma pack(push, 4)
16 class CCSolidColorDrawQuad : public CCDrawQuad {
17 public:
18 static PassOwnPtr<CCSolidColorDrawQuad> create(const CCSharedQuadState*, const IntRect&, SkColor);
20 SkColor color() const { return m_color; };
22 static const CCSolidColorDrawQuad* materialCast(const CCDrawQuad*);
23 private:
24 CCSolidColorDrawQuad(const CCSharedQuadState*, const IntRect&, SkColor);
26 SkColor m_color;
29 #pragma pack(pop)
33 #endif