OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_ | 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_ |
6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_ | 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
10 #include "skia/ext/platform_device.h" | 13 #include "skia/ext/platform_device.h" |
11 | 14 |
12 namespace skia { | 15 namespace skia { |
13 | 16 |
14 // ----------------------------------------------------------------------------- | 17 // ----------------------------------------------------------------------------- |
15 // For now we just use SkBitmap for SkBitmapDevice | 18 // For now we just use SkBitmap for SkBitmapDevice |
16 // | 19 // |
17 // This is all quite ok for test_shell. In the future we will want to use | 20 // This is all quite ok for test_shell. In the future we will want to use |
18 // shared memory between the renderer and the main process at least. In this | 21 // shared memory between the renderer and the main process at least. In this |
(...skipping 23 matching lines...) Expand all Loading... |
42 protected: | 45 protected: |
43 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; | 46 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; |
44 | 47 |
45 private: | 48 private: |
46 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice); | 49 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice); |
47 }; | 50 }; |
48 | 51 |
49 } // namespace skia | 52 } // namespace skia |
50 | 53 |
51 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_ | 54 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_ |
OLD | NEW |