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

Side by Side Diff: core/fxge/android/cfpf_skiabufferfont.h

Issue 2448293002: Name core/fxge/android files appropriately and use one file per class (Closed)
Patch Set: Fix build Created 4 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2016 PDFium 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.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_
8 #define CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_
9
10 #include "core/fxge/android/cfpf_skiafontdescriptor.h"
11
12 #define FPF_SKIAFONTTYPE_Buffer 3
13
14 class CFPF_SkiaBufferFont : public CFPF_SkiaFontDescriptor {
15 public:
16 CFPF_SkiaBufferFont() : m_pBuffer(nullptr), m_szBuffer(0) {}
17
18 // CFPF_SkiaFontDescriptor
19 int32_t GetType() const override { return FPF_SKIAFONTTYPE_Buffer; }
20
21 void* m_pBuffer;
22 size_t m_szBuffer;
23 };
24
25 #endif // CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698