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

Side by Side Diff: core/src/fxge/android/fpf_skiamodule.h

Issue 1296043002: Merge to XFA: Use override in more classes in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_
8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
11
12 #include "../../../include/fxge/fpf.h"
13
11 class CFPF_SkiaFontMgr; 14 class CFPF_SkiaFontMgr;
15
12 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { 16 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule {
13 public: 17 public:
14 CFPF_SkiaDeviceModule() : m_pFontMgr(NULL) {} 18 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {}
15 virtual ~CFPF_SkiaDeviceModule(); 19 ~CFPF_SkiaDeviceModule() override;
16 virtual void Destroy(); 20
17 virtual IFPF_FontMgr* GetFontMgr(); 21 // IFPF_DeviceModule
22 void Destroy() override;
23 IFPF_FontMgr* GetFontMgr() override;
18 24
19 protected: 25 protected:
20 CFPF_SkiaFontMgr* m_pFontMgr; 26 CFPF_SkiaFontMgr* m_pFontMgr;
21 }; 27 };
22 #endif 28 #endif
23 29
24 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ 30 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698