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

Side by Side Diff: fpdfsdk/include/fxedit/fx_edit.h

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/include/fx_systemhandler.h ('k') | fpdfsdk/include/fxedit/fxet_edit.h » ('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 #ifndef FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_ 7 #ifndef FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
8 #define FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_ 8 #define FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
9 9
10 #include "../../../core/include/fxcrt/fx_basic.h" 10 #include "../../../core/include/fxcrt/fx_basic.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 //send the LEFT key message to edit. 302 //send the LEFT key message to edit.
303 virtual void OnVK_LEF T(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 303 virtual void OnVK_LEF T(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
304 //send the RIGHT key message to edit. 304 //send the RIGHT key message to edit.
305 virtual void OnVK_RIG HT(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 305 virtual void OnVK_RIG HT(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
306 //send the HOME key message to edit. 306 //send the HOME key message to edit.
307 virtual void OnVK_HOM E(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 307 virtual void OnVK_HOM E(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
308 //send the END key message to edit. 308 //send the END key message to edit.
309 virtual void OnVK_END (FX_BOOL bShift,FX_BOOL bCtrl) = 0; 309 virtual void OnVK_END (FX_BOOL bShift,FX_BOOL bCtrl) = 0;
310 310
311 //put text into edit. 311 //put text into edit.
312 » virtual void» » » » » » » SetText( FX_LPCWSTR text,int32_t charset = DEFAULT_CHARSET, 312 » virtual void» » » » » » » SetText( const FX_WCHAR* text,int32_t charset = DEFAULT_CHARSET,
313 const CPVT_SecProps * pSecProps = NULL,const CPVT_WordPr ops * pWordProps = NULL) = 0; 313 const CPVT_SecProps * pSecProps = NULL,const CPVT_WordPr ops * pWordProps = NULL) = 0;
314 //insert a word into the edit. 314 //insert a word into the edit.
315 virtual FX_BOOL InsertWo rd(FX_WORD word, int32_t charset = DEFAULT_CHARSET, const CPVT_WordProps * pWord Props = NULL) = 0; 315 virtual FX_BOOL InsertWo rd(FX_WORD word, int32_t charset = DEFAULT_CHARSET, const CPVT_WordProps * pWord Props = NULL) = 0;
316 //insert a return into the edit. 316 //insert a return into the edit.
317 virtual FX_BOOL InsertRe turn(const CPVT_SecProps * pSecProps = NULL,const CPVT_WordProps * pWordProps = NULL) = 0; 317 virtual FX_BOOL InsertRe turn(const CPVT_SecProps * pSecProps = NULL,const CPVT_WordProps * pWordProps = NULL) = 0;
318 //insert text into the edit. 318 //insert text into the edit.
319 » virtual FX_BOOL»» » » » » » InsertTe xt(FX_LPCWSTR text, int32_t charset = DEFAULT_CHARSET, 319 » virtual FX_BOOL»» » » » » » InsertTe xt(const FX_WCHAR* text, int32_t charset = DEFAULT_CHARSET,
320 const CPVT_SecProps * pSecProps = NULL,const CPVT_WordPr ops * pWordProps = NULL) = 0; 320 const CPVT_SecProps * pSecProps = NULL,const CPVT_WordPr ops * pWordProps = NULL) = 0;
321 //do backspace operation. 321 //do backspace operation.
322 virtual FX_BOOL Backspac e() = 0; 322 virtual FX_BOOL Backspac e() = 0;
323 //do delete operation. 323 //do delete operation.
324 virtual FX_BOOL Delete() = 0; 324 virtual FX_BOOL Delete() = 0;
325 //delete the selected text. 325 //delete the selected text.
326 virtual FX_BOOL Clear() = 0; 326 virtual FX_BOOL Clear() = 0;
327 327
328 //do Redo operation. 328 //do Redo operation.
329 virtual FX_BOOL Redo() = 0; 329 virtual FX_BOOL Redo() = 0;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 461
462 virtual void SetScrol lPos(const CPDF_Point & point) = 0; 462 virtual void SetScrol lPos(const CPDF_Point & point) = 0;
463 virtual void ScrollTo ListItem(int32_t nItemIndex) = 0; 463 virtual void ScrollTo ListItem(int32_t nItemIndex) = 0;
464 virtual CPDF_Rect GetItemR ect(int32_t nIndex) const = 0; 464 virtual CPDF_Rect GetItemR ect(int32_t nIndex) const = 0;
465 virtual int32_t GetCaret() const = 0; 465 virtual int32_t GetCaret() const = 0;
466 virtual int32_t GetSelect() cons t = 0; 466 virtual int32_t GetSelect() cons t = 0;
467 virtual int32_t GetTopItem() con st = 0; 467 virtual int32_t GetTopItem() con st = 0;
468 virtual int32_t GetItemIndex(con st CPDF_Point & point) const = 0; 468 virtual int32_t GetItemIndex(con st CPDF_Point & point) const = 0;
469 virtual int32_t GetFirstSelected () const = 0; 469 virtual int32_t GetFirstSelected () const = 0;
470 470
471 » virtual void» » » » » » » AddStrin g(FX_LPCWSTR string) = 0; 471 » virtual void» » » » » » » AddStrin g(const FX_WCHAR* string) = 0;
472 virtual void SetTopIt em(int32_t nIndex) = 0; 472 virtual void SetTopIt em(int32_t nIndex) = 0;
473 virtual void Select(i nt32_t nItemIndex) = 0; 473 virtual void Select(i nt32_t nItemIndex) = 0;
474 virtual void SetCaret (int32_t nItemIndex) = 0; 474 virtual void SetCaret (int32_t nItemIndex) = 0;
475 virtual void Empty() = 0; 475 virtual void Empty() = 0;
476 virtual void Cancel() = 0; 476 virtual void Cancel() = 0;
477 virtual CFX_WideString GetText() const = 0; 477 virtual CFX_WideString GetText() const = 0;
478 478
479 479
480 virtual void OnMouseD own(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0; 480 virtual void OnMouseD own(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
481 virtual void OnMouseM ove(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0; 481 virtual void OnMouseM ove(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
482 virtual void OnVK_UP( FX_BOOL bShift,FX_BOOL bCtrl) = 0; 482 virtual void OnVK_UP( FX_BOOL bShift,FX_BOOL bCtrl) = 0;
483 virtual void OnVK_DOW N(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 483 virtual void OnVK_DOW N(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
484 virtual void OnVK_LEF T(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 484 virtual void OnVK_LEF T(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
485 virtual void OnVK_RIG HT(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 485 virtual void OnVK_RIG HT(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
486 virtual void OnVK_HOM E(FX_BOOL bShift,FX_BOOL bCtrl) = 0; 486 virtual void OnVK_HOM E(FX_BOOL bShift,FX_BOOL bCtrl) = 0;
487 virtual void OnVK_END (FX_BOOL bShift,FX_BOOL bCtrl) = 0; 487 virtual void OnVK_END (FX_BOOL bShift,FX_BOOL bCtrl) = 0;
488 virtual void OnVK(int 32_t nItemIndex,FX_BOOL bShift,FX_BOOL bCtrl) = 0; 488 virtual void OnVK(int 32_t nItemIndex,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
489 virtual FX_BOOL OnChar(F X_WORD nChar,FX_BOOL bShift,FX_BOOL bCtrl) = 0; 489 virtual FX_BOOL OnChar(F X_WORD nChar,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
490 490
491 protected: 491 protected:
492 ~IFX_List() { } 492 ~IFX_List() { }
493 }; 493 };
494 494
495 #endif // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_ 495 #endif // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fx_systemhandler.h ('k') | fpdfsdk/include/fxedit/fxet_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698