diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-26 17:37:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-26 17:37:17 +0000 |
commit | 385bf2e0481230b1f5e50a2627063383bd297451 (patch) | |
tree | 72232c02942f833451703b8e29ba68a1eb0cf8d1 | |
parent | 6fe32f898af3eea875fd01a6d18f719d17dd72f3 (diff) | |
download | pdfium-385bf2e0481230b1f5e50a2627063383bd297451.tar.xz |
Rename NewPDFWindow() => NewPWLWindow()chromium/3593
The window comes from the PWL layer. The string |PDF| doesn't
add a lot of information since the whole repository is about PDF.
Change-Id: I396351519e68ac0c59a02806941f45d3b17e7567
Reviewed-on: https://pdfium-review.googlesource.com/c/44670
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
-rw-r--r-- | fpdfsdk/formfiller/cffl_checkbox.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_checkbox.h | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_combobox.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_combobox.h | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_formfiller.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_formfiller.h | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_listbox.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_listbox.h | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_pushbutton.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_pushbutton.h | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_radiobutton.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_radiobutton.h | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_textfield.cpp | 2 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_textfield.h | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/fpdfsdk/formfiller/cffl_checkbox.cpp b/fpdfsdk/formfiller/cffl_checkbox.cpp index 1127d8f258..3dbac1aa84 100644 --- a/fpdfsdk/formfiller/cffl_checkbox.cpp +++ b/fpdfsdk/formfiller/cffl_checkbox.cpp @@ -21,7 +21,7 @@ CFFL_CheckBox::CFFL_CheckBox(CPDFSDK_FormFillEnvironment* pApp, CFFL_CheckBox::~CFFL_CheckBox() {} -std::unique_ptr<CPWL_Wnd> CFFL_CheckBox::NewPDFWindow( +std::unique_ptr<CPWL_Wnd> CFFL_CheckBox::NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { auto pWnd = pdfium::MakeUnique<CPWL_CheckBox>(std::move(pAttachedData)); diff --git a/fpdfsdk/formfiller/cffl_checkbox.h b/fpdfsdk/formfiller/cffl_checkbox.h index a8fe316356..25c6260415 100644 --- a/fpdfsdk/formfiller/cffl_checkbox.h +++ b/fpdfsdk/formfiller/cffl_checkbox.h @@ -19,7 +19,7 @@ class CFFL_CheckBox final : public CFFL_Button { ~CFFL_CheckBox() override; // CFFL_Button: - std::unique_ptr<CPWL_Wnd> NewPDFWindow( + std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) override; bool OnKeyDown(CPDFSDK_Annot* pAnnot, diff --git a/fpdfsdk/formfiller/cffl_combobox.cpp b/fpdfsdk/formfiller/cffl_combobox.cpp index 460fdce7ec..b068171250 100644 --- a/fpdfsdk/formfiller/cffl_combobox.cpp +++ b/fpdfsdk/formfiller/cffl_combobox.cpp @@ -44,7 +44,7 @@ CPWL_Wnd::CreateParams CFFL_ComboBox::GetCreateParam() { return cp; } -std::unique_ptr<CPWL_Wnd> CFFL_ComboBox::NewPDFWindow( +std::unique_ptr<CPWL_Wnd> CFFL_ComboBox::NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { auto pWnd = pdfium::MakeUnique<CPWL_ComboBox>(std::move(pAttachedData)); diff --git a/fpdfsdk/formfiller/cffl_combobox.h b/fpdfsdk/formfiller/cffl_combobox.h index 66cd55c3e6..e33130bb65 100644 --- a/fpdfsdk/formfiller/cffl_combobox.h +++ b/fpdfsdk/formfiller/cffl_combobox.h @@ -29,7 +29,7 @@ class CFFL_ComboBox final : public CFFL_TextObject, // CFFL_TextObject: CPWL_Wnd::CreateParams GetCreateParam() override; - std::unique_ptr<CPWL_Wnd> NewPDFWindow( + std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) override; bool OnChar(CPDFSDK_Annot* pAnnot, uint32_t nChar, uint32_t nFlags) override; diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp index dace98a8c1..76421368b2 100644 --- a/fpdfsdk/formfiller/cffl_formfiller.cpp +++ b/fpdfsdk/formfiller/cffl_formfiller.cpp @@ -391,7 +391,7 @@ CPWL_Wnd* CFFL_FormFiller::GetPDFWindow(CPDFSDK_PageView* pPageView, pPrivateData->pPageView = pPageView; pPrivateData->nWidgetAppearanceAge = m_pWidget->GetAppearanceAge(); pPrivateData->nWidgetValueAge = 0; - m_Maps[pPageView] = NewPDFWindow(cp, std::move(pPrivateData)); + m_Maps[pPageView] = NewPWLWindow(cp, std::move(pPrivateData)); return m_Maps[pPageView].get(); } diff --git a/fpdfsdk/formfiller/cffl_formfiller.h b/fpdfsdk/formfiller/cffl_formfiller.h index 6b04e0c936..3bc5415202 100644 --- a/fpdfsdk/formfiller/cffl_formfiller.h +++ b/fpdfsdk/formfiller/cffl_formfiller.h @@ -106,7 +106,7 @@ class CFFL_FormFiller : public CPWL_Wnd::ProviderIface, const CPDFSDK_FieldAction& faNew); virtual CPWL_Wnd::CreateParams GetCreateParam(); - virtual std::unique_ptr<CPWL_Wnd> NewPDFWindow( + virtual std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) = 0; virtual CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, diff --git a/fpdfsdk/formfiller/cffl_listbox.cpp b/fpdfsdk/formfiller/cffl_listbox.cpp index 88414cc9fc..4eb3a7105b 100644 --- a/fpdfsdk/formfiller/cffl_listbox.cpp +++ b/fpdfsdk/formfiller/cffl_listbox.cpp @@ -39,7 +39,7 @@ CPWL_Wnd::CreateParams CFFL_ListBox::GetCreateParam() { return cp; } -std::unique_ptr<CPWL_Wnd> CFFL_ListBox::NewPDFWindow( +std::unique_ptr<CPWL_Wnd> CFFL_ListBox::NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { auto pWnd = pdfium::MakeUnique<CPWL_ListBox>(std::move(pAttachedData)); diff --git a/fpdfsdk/formfiller/cffl_listbox.h b/fpdfsdk/formfiller/cffl_listbox.h index ab4005f7ec..7fbaf0c53d 100644 --- a/fpdfsdk/formfiller/cffl_listbox.h +++ b/fpdfsdk/formfiller/cffl_listbox.h @@ -22,7 +22,7 @@ class CFFL_ListBox final : public CFFL_TextObject { // CFFL_TextObject: CPWL_Wnd::CreateParams GetCreateParam() override; - std::unique_ptr<CPWL_Wnd> NewPDFWindow( + std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) override; bool OnChar(CPDFSDK_Annot* pAnnot, uint32_t nChar, uint32_t nFlags) override; diff --git a/fpdfsdk/formfiller/cffl_pushbutton.cpp b/fpdfsdk/formfiller/cffl_pushbutton.cpp index 76719d95c8..04db191572 100644 --- a/fpdfsdk/formfiller/cffl_pushbutton.cpp +++ b/fpdfsdk/formfiller/cffl_pushbutton.cpp @@ -17,7 +17,7 @@ CFFL_PushButton::CFFL_PushButton(CPDFSDK_FormFillEnvironment* pApp, CFFL_PushButton::~CFFL_PushButton() = default; -std::unique_ptr<CPWL_Wnd> CFFL_PushButton::NewPDFWindow( +std::unique_ptr<CPWL_Wnd> CFFL_PushButton::NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { auto pWnd = pdfium::MakeUnique<CPWL_PushButton>(std::move(pAttachedData)); diff --git a/fpdfsdk/formfiller/cffl_pushbutton.h b/fpdfsdk/formfiller/cffl_pushbutton.h index f10dd67f29..fe4803473d 100644 --- a/fpdfsdk/formfiller/cffl_pushbutton.h +++ b/fpdfsdk/formfiller/cffl_pushbutton.h @@ -17,7 +17,7 @@ class CFFL_PushButton final : public CFFL_Button { ~CFFL_PushButton() override; // CFFL_Button: - std::unique_ptr<CPWL_Wnd> NewPDFWindow( + std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) override; }; diff --git a/fpdfsdk/formfiller/cffl_radiobutton.cpp b/fpdfsdk/formfiller/cffl_radiobutton.cpp index 4ae80d6a77..c8103d4a62 100644 --- a/fpdfsdk/formfiller/cffl_radiobutton.cpp +++ b/fpdfsdk/formfiller/cffl_radiobutton.cpp @@ -20,7 +20,7 @@ CFFL_RadioButton::CFFL_RadioButton(CPDFSDK_FormFillEnvironment* pApp, CFFL_RadioButton::~CFFL_RadioButton() {} -std::unique_ptr<CPWL_Wnd> CFFL_RadioButton::NewPDFWindow( +std::unique_ptr<CPWL_Wnd> CFFL_RadioButton::NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { auto pWnd = pdfium::MakeUnique<CPWL_RadioButton>(std::move(pAttachedData)); diff --git a/fpdfsdk/formfiller/cffl_radiobutton.h b/fpdfsdk/formfiller/cffl_radiobutton.h index 0076919144..bed7b6fa2b 100644 --- a/fpdfsdk/formfiller/cffl_radiobutton.h +++ b/fpdfsdk/formfiller/cffl_radiobutton.h @@ -19,7 +19,7 @@ class CFFL_RadioButton final : public CFFL_Button { ~CFFL_RadioButton() override; // CFFL_Button: - std::unique_ptr<CPWL_Wnd> NewPDFWindow( + std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) override; bool OnKeyDown(CPDFSDK_Annot* pAnnot, diff --git a/fpdfsdk/formfiller/cffl_textfield.cpp b/fpdfsdk/formfiller/cffl_textfield.cpp index e3cde98c82..a54939666f 100644 --- a/fpdfsdk/formfiller/cffl_textfield.cpp +++ b/fpdfsdk/formfiller/cffl_textfield.cpp @@ -69,7 +69,7 @@ CPWL_Wnd::CreateParams CFFL_TextField::GetCreateParam() { return cp; } -std::unique_ptr<CPWL_Wnd> CFFL_TextField::NewPDFWindow( +std::unique_ptr<CPWL_Wnd> CFFL_TextField::NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { auto pWnd = pdfium::MakeUnique<CPWL_Edit>(std::move(pAttachedData)); diff --git a/fpdfsdk/formfiller/cffl_textfield.h b/fpdfsdk/formfiller/cffl_textfield.h index 1ba0e6399f..e45755fc94 100644 --- a/fpdfsdk/formfiller/cffl_textfield.h +++ b/fpdfsdk/formfiller/cffl_textfield.h @@ -34,7 +34,7 @@ class CFFL_TextField final : public CFFL_TextObject, // CFFL_TextObject: CPWL_Wnd::CreateParams GetCreateParam() override; - std::unique_ptr<CPWL_Wnd> NewPDFWindow( + std::unique_ptr<CPWL_Wnd> NewPWLWindow( const CPWL_Wnd::CreateParams& cp, std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) override; bool OnChar(CPDFSDK_Annot* pAnnot, uint32_t nChar, uint32_t nFlags) override; |