summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_appstream.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-24 09:42:55 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-24 13:59:00 +0000
commit6b0158fdc229e7fc45fdb61c700b709bd82b2309 (patch)
treeacb36f7f20b7a1280613deae74bcedcd500f3547 /fpdfsdk/pdfwindow/cpwl_appstream.cpp
parentc08dc39850188d96ad81f5800c7a51d2663eeb44 (diff)
downloadpdfium-6b0158fdc229e7fc45fdb61c700b709bd82b2309.tar.xz
Remove fxedit place classes in pdfwindow/
This CL removes the fpdfsdk/fxedit folder and moves the code to fpdfsdk/pdfwindow which is the primary consumer. The classes were renamed from CFX_* to CPWL_*. Change-Id: I6c6178adccf978193bbb9685204657ebd3f438bb Reviewed-on: https://pdfium-review.googlesource.com/8552 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_appstream.cpp')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_appstream.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_appstream.cpp b/fpdfsdk/pdfwindow/cpwl_appstream.cpp
index f7ba4c465c..9ac08fa078 100644
--- a/fpdfsdk/pdfwindow/cpwl_appstream.cpp
+++ b/fpdfsdk/pdfwindow/cpwl_appstream.cpp
@@ -22,8 +22,8 @@
#include "fpdfsdk/cpdfsdk_pageview.h"
#include "fpdfsdk/cpdfsdk_widget.h"
#include "fpdfsdk/formfiller/cba_fontmap.h"
-#include "fpdfsdk/fxedit/fxet_edit.h"
#include "fpdfsdk/pdfwindow/cpwl_edit.h"
+#include "fpdfsdk/pdfwindow/cpwl_edit_impl.h"
#include "fpdfsdk/pdfwindow/cpwl_icon.h"
#include "fpdfsdk/pdfwindow/cpwl_wnd.h"
@@ -523,11 +523,11 @@ CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords) {
return CFX_ByteString();
}
-CFX_ByteString GetEditAppStream(CFX_Edit* pEdit,
+CFX_ByteString GetEditAppStream(CPWL_EditImpl* pEdit,
const CFX_PointF& ptOffset,
bool bContinuous,
uint16_t SubWord) {
- CFX_Edit_Iterator* pIterator = pEdit->GetIterator();
+ CPWL_EditImpl_Iterator* pIterator = pEdit->GetIterator();
pIterator->SetAt(0);
std::ostringstream sEditStream;
@@ -686,7 +686,7 @@ CFX_ByteString GetPushButtonAppStream(const CFX_FloatRect& rcBBox,
ButtonStyle nLayOut) {
const float fAutoFontScale = 1.0f / 3.0f;
- auto pEdit = pdfium::MakeUnique<CFX_Edit>();
+ auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>();
pEdit->SetFontMap(pFontMap);
pEdit->SetAlignmentH(1, true);
pEdit->SetAlignmentV(1, true);
@@ -1515,7 +1515,7 @@ void CPWL_AppStream::SetAsComboBox(const CFX_WideString* sValue) {
rcButton.left = rcButton.right - 13;
rcButton.Normalize();
- auto pEdit = pdfium::MakeUnique<CFX_Edit>();
+ auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>();
pEdit->EnableRefresh(false);
CBA_FontMap font_map(
@@ -1578,7 +1578,7 @@ void CPWL_AppStream::SetAsListBox() {
CFX_FloatRect rcClient = widget_->GetClientRect();
std::ostringstream sBody;
- auto pEdit = pdfium::MakeUnique<CFX_Edit>();
+ auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>();
pEdit->EnableRefresh(false);
CBA_FontMap font_map(
@@ -1658,7 +1658,7 @@ void CPWL_AppStream::SetAsTextField(const CFX_WideString* sValue) {
std::ostringstream sBody;
std::ostringstream sLines;
- auto pEdit = pdfium::MakeUnique<CFX_Edit>();
+ auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>();
pEdit->EnableRefresh(false);
CBA_FontMap font_map(