summaryrefslogtreecommitdiff
path: root/core/fxge/android/fx_android_imp.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-25 14:26:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-25 14:26:39 -0700
commitcfcc11e53a60b3f56a9bbe13718ecb9b997384da (patch)
tree7ac6fc6f1bf8f180769021f51c7235db21da4eb1 /core/fxge/android/fx_android_imp.cpp
parent4ee6139e8cfecab9e181115894b26131ad6de09a (diff)
downloadpdfium-cfcc11e53a60b3f56a9bbe13718ecb9b997384da.tar.xz
Name core/fxge/android files appropriately and use one file per class
- Rename files so that they correspond to class names. - Remove OS_Android ifs, since they are unneeded. - Split fpf_skiafontmgr.h into classes, one per file. Review-Url: https://codereview.chromium.org/2448293002
Diffstat (limited to 'core/fxge/android/fx_android_imp.cpp')
-rw-r--r--core/fxge/android/fx_android_imp.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/core/fxge/android/fx_android_imp.cpp b/core/fxge/android/fx_android_imp.cpp
index 6e9dafc0e4..b8e7c5b218 100644
--- a/core/fxge/android/fx_android_imp.cpp
+++ b/core/fxge/android/fx_android_imp.cpp
@@ -4,16 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fxcrt/fx_system.h"
-
-#if _FX_OS_ == _FX_ANDROID_
+#include "core/fxge/cfx_gemodule.h"
#include <memory>
#include <utility>
-#include "core/fxge/android/fpf_skiamodule.h"
-#include "core/fxge/android/fx_android_font.h"
-#include "core/fxge/cfx_gemodule.h"
+#include "core/fxge/android/cfpf_skiadevicemodule.h"
+#include "core/fxge/android/cfx_androidfontinfo.h"
void CFX_GEModule::InitPlatform() {
CFPF_SkiaDeviceModule* pDeviceModule = CFPF_GetSkiaDeviceModule();
@@ -33,5 +30,3 @@ void CFX_GEModule::DestroyPlatform() {
if (m_pPlatformData)
static_cast<CFPF_SkiaDeviceModule*>(m_pPlatformData)->Destroy();
}
-
-#endif // _FX_OS_ == _FX_ANDROID_