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

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 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
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_Edit.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "../../include/pdfwindow/PDFWindow.h" 7 #include "../../include/pdfwindow/PDFWindow.h"
8 #include "../../include/pdfwindow/PWL_Wnd.h" 8 #include "../../include/pdfwindow/PWL_Wnd.h"
9 #include "../../include/pdfwindow/PWL_EditCtrl.h" 9 #include "../../include/pdfwindow/PWL_EditCtrl.h"
10 #include "../../include/pdfwindow/PWL_Edit.h" 10 #include "../../include/pdfwindow/PWL_Edit.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 CFX_WideString CPWL_ComboBox::GetText() const 238 CFX_WideString CPWL_ComboBox::GetText() const
239 { 239 {
240 if (m_pEdit) 240 if (m_pEdit)
241 { 241 {
242 return m_pEdit->GetText(); 242 return m_pEdit->GetText();
243 } 243 }
244 return CFX_WideString(); 244 return CFX_WideString();
245 } 245 }
246 246
247 void CPWL_ComboBox::SetText(FX_LPCWSTR text) 247 void CPWL_ComboBox::SetText(const FX_WCHAR* text)
248 { 248 {
249 if (m_pEdit) 249 if (m_pEdit)
250 m_pEdit->SetText(text); 250 m_pEdit->SetText(text);
251 } 251 }
252 252
253 void CPWL_ComboBox::AddString(FX_LPCWSTR string) 253 void CPWL_ComboBox::AddString(const FX_WCHAR* string)
254 { 254 {
255 if (m_pList) 255 if (m_pList)
256 m_pList->AddString(string); 256 m_pList->AddString(string);
257 } 257 }
258 258
259 int32_t CPWL_ComboBox::GetSelect() const 259 int32_t CPWL_ComboBox::GetSelect() const
260 { 260 {
261 return m_nSelectItem; 261 return m_nSelectItem;
262 } 262 }
263 263
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 { 653 {
654 m_pFillerNotify = pNotify; 654 m_pFillerNotify = pNotify;
655 655
656 if (m_pEdit) 656 if (m_pEdit)
657 m_pEdit->SetFillerNotify(pNotify); 657 m_pEdit->SetFillerNotify(pNotify);
658 658
659 if (m_pList) 659 if (m_pList)
660 m_pList->SetFillerNotify(pNotify); 660 m_pList->SetFillerNotify(pNotify);
661 } 661 }
662 662
OLDNEW
« no previous file with comments | « fpdfsdk/src/jsapi/fxjs_v8.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_Edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698