| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PLATFORM_DEVICE_LINUX_H_ | 5 #ifndef SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ |
| 6 #define SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ | 6 #define SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "skia/ext/platform_device.h" | 9 #include "skia/ext/platform_device.h" |
| 10 #include "third_party/skia/include/core/SkDevice.h" | 10 #include "third_party/skia/include/core/SkDevice.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 virtual void MakeOpaque(int x, int y, int width, int height) { } | 29 virtual void MakeOpaque(int x, int y, int width, int height) { } |
| 30 | 30 |
| 31 protected: | 31 protected: |
| 32 // Forwards |bitmap| to SkDevice's constructor. | 32 // Forwards |bitmap| to SkDevice's constructor. |
| 33 explicit PlatformDevice(const SkBitmap& bitmap); | 33 explicit PlatformDevice(const SkBitmap& bitmap); |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace skia | 36 } // namespace skia |
| 37 | 37 |
| 38 #endif // SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ | 38 #endif // SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ |
| OLD | NEW |