summaryrefslogtreecommitdiff
path: root/xfa/fwl/core
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-03-25 08:54:32 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 08:54:32 -0700
commitd7682aad8fc488e3e99c3e0de4bd13155deb7ce4 (patch)
treeaddcdeb4955fe3af62897a992b1710567f8e58fd /xfa/fwl/core
parenta560806d77c8ada8bd2203eebfc1190d14922cdd (diff)
downloadpdfium-d7682aad8fc488e3e99c3e0de4bd13155deb7ce4.tar.xz
Cleanup some extern method declarations.
This CL removes _FPDFAPI_GetInternalFontData which is not implemented, FWL_PostMessageToMainRoop which has no body and the PostMessage which was the only caller. FWL_ShowCaret is moved to the only place where it's used. BUG=pdfium:112 Review URL: https://codereview.chromium.org/1827343003
Diffstat (limited to 'xfa/fwl/core')
-rw-r--r--xfa/fwl/core/fwl_noteimp.cpp6
-rw-r--r--xfa/fwl/core/fwl_noteimp.h1
-rw-r--r--xfa/fwl/core/ifwl_notedriver.h1
3 files changed, 1 insertions, 7 deletions
diff --git a/xfa/fwl/core/fwl_noteimp.cpp b/xfa/fwl/core/fwl_noteimp.cpp
index ecc13f082e..72dd9ecff2 100644
--- a/xfa/fwl/core/fwl_noteimp.cpp
+++ b/xfa/fwl/core/fwl_noteimp.cpp
@@ -161,11 +161,7 @@ FX_BOOL CFWL_NoteDriver::SendNote(CFWL_Note* pNote) {
}
return TRUE;
}
-extern void FWL_PostMessageToMainRoop(CFWL_Message* pMessage);
-FX_BOOL CFWL_NoteDriver::PostMessage(CFWL_Message* pMessage) {
- FWL_PostMessageToMainRoop(pMessage);
- return TRUE;
-}
+
#define FWL_NoteDriver_EventKey 1100
FWL_ERR CFWL_NoteDriver::RegisterEventTarget(IFWL_Widget* pListener,
IFWL_Widget* pEventSource,
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h
index 7554082871..57c70edee0 100644
--- a/xfa/fwl/core/fwl_noteimp.h
+++ b/xfa/fwl/core/fwl_noteimp.h
@@ -55,7 +55,6 @@ class CFWL_NoteDriver : public IFWL_NoteDriver {
// IFWL_NoteDriver:
FX_BOOL SendNote(CFWL_Note* pNote) override;
- FX_BOOL PostMessage(CFWL_Message* pMessage) override;
FWL_ERR RegisterEventTarget(IFWL_Widget* pListener,
IFWL_Widget* pEventSource = NULL,
FX_DWORD dwFilter = FWL_EVENT_ALL_MASK) override;
diff --git a/xfa/fwl/core/ifwl_notedriver.h b/xfa/fwl/core/ifwl_notedriver.h
index cdedd6f0c9..cdb751f324 100644
--- a/xfa/fwl/core/ifwl_notedriver.h
+++ b/xfa/fwl/core/ifwl_notedriver.h
@@ -30,7 +30,6 @@ class IFWL_NoteDriver {
virtual ~IFWL_NoteDriver() {}
virtual FX_BOOL SendNote(CFWL_Note* pNote) = 0;
- virtual FX_BOOL PostMessage(CFWL_Message* pMessage) = 0;
virtual FWL_ERR RegisterEventTarget(
IFWL_Widget* pListener,
IFWL_Widget* pEventSource = NULL,