Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: skia/ext/bitmap_platform_device_linux.h

Issue 6691067: Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/En... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.cc ('k') | skia/ext/bitmap_platform_device_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_BITMAP_PLATFORM_DEVICE_LINUX_H_ 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_ 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "skia/ext/platform_device_linux.h" 10 #include "skia/ext/platform_device_linux.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 virtual void makeOpaque(int x, int y, int width, int height); 91 virtual void makeOpaque(int x, int y, int width, int height);
92 92
93 // Overridden from SkDevice: 93 // Overridden from SkDevice:
94 virtual SkDeviceFactory* getDeviceFactory(); 94 virtual SkDeviceFactory* getDeviceFactory();
95 virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region, 95 virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region,
96 const SkClipStack&); 96 const SkClipStack&);
97 97
98 // Overridden from PlatformDevice: 98 // Overridden from PlatformDevice:
99 virtual bool IsVectorial(); 99 virtual bool IsVectorial();
100 virtual cairo_t* beginPlatformPaint(); 100 virtual cairo_t* BeginPlatformPaint();
101 101
102 private: 102 private:
103 static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, 103 static BitmapPlatformDevice* Create(int width, int height, bool is_opaque,
104 cairo_surface_t* surface); 104 cairo_surface_t* surface);
105 105
106 scoped_refptr<BitmapPlatformDeviceData> data_; 106 scoped_refptr<BitmapPlatformDeviceData> data_;
107 }; 107 };
108 108
109 } // namespace skia 109 } // namespace skia
110 110
111 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_ 111 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
OLDNEW
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.cc ('k') | skia/ext/bitmap_platform_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698