OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_H_ | 5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_H_ |
6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_H_ | 6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "cc/layers/layer.h" | 13 #include "cc/layers/layer.h" |
14 #include "third_party/skia/include/core/SkRefCnt.h" | 14 #include "third_party/skia/include/core/SkRefCnt.h" |
15 #include "third_party/skia/include/core/SkTypeface.h" | 15 #include "third_party/skia/include/core/SkTypeface.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
19 class CC_EXPORT HeadsUpDisplayLayer : public Layer { | 19 class CC_EXPORT HeadsUpDisplayLayer : public Layer { |
20 public: | 20 public: |
21 static scoped_refptr<HeadsUpDisplayLayer> Create(); | 21 static scoped_refptr<HeadsUpDisplayLayer> Create(); |
22 | 22 |
(...skipping 13 matching lines...) Expand all Loading... |
36 ~HeadsUpDisplayLayer() override; | 36 ~HeadsUpDisplayLayer() override; |
37 | 37 |
38 sk_sp<SkTypeface> typeface_; | 38 sk_sp<SkTypeface> typeface_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayer); | 40 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayer); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace cc | 43 } // namespace cc |
44 | 44 |
45 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_H_ | 45 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_H_ |
OLD | NEW |