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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_Wnd.h

Issue 1701883004: Banish CFX_ByteStringArray and CFX_WideStringArray to the XFA side. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix non-xfa build. Created 4 years, 10 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
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_PDFWINDOW_PWL_WND_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
9 9
10 #include "core/include/fpdfdoc/fpdf_doc.h" 10 #include "core/include/fpdfdoc/fpdf_doc.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 #define PWL_DEFAULT_LIGHTGRAYCOLOR CPWL_Color(COLORTYPE_GRAY, 0.75) 164 #define PWL_DEFAULT_LIGHTGRAYCOLOR CPWL_Color(COLORTYPE_GRAY, 0.75)
165 #define PWL_TRIANGLE_HALFLEN 2.0f 165 #define PWL_TRIANGLE_HALFLEN 2.0f
166 #define PWL_CBBUTTON_TRIANGLE_HALFLEN 3.0f 166 #define PWL_CBBUTTON_TRIANGLE_HALFLEN 3.0f
167 #define PWL_INVALIDATE_INFLATE 2 167 #define PWL_INVALIDATE_INFLATE 2
168 168
169 class IPWL_SpellCheck { 169 class IPWL_SpellCheck {
170 public: 170 public:
171 virtual ~IPWL_SpellCheck() {} 171 virtual ~IPWL_SpellCheck() {}
172 virtual FX_BOOL CheckWord(const FX_CHAR* sWord) = 0; 172 virtual FX_BOOL CheckWord(const FX_CHAR* sWord) = 0;
173 virtual void SuggestWords(const FX_CHAR* sWord, 173 virtual void SuggestWords(const FX_CHAR* sWord,
174 CFX_ByteStringArray& sSuggest) = 0; 174 std::vector<CFX_ByteString>& sSuggest) = 0;
Lei Zhang 2016/02/17 02:17:21 IWYU
Tom Sepez 2016/02/17 18:07:47 Included.
175 }; 175 };
176 176
177 class IPWL_Provider { 177 class IPWL_Provider {
178 public: 178 public:
179 virtual ~IPWL_Provider() {} 179 virtual ~IPWL_Provider() {}
180 180
181 // get a matrix which map user space to CWnd client space 181 // get a matrix which map user space to CWnd client space
182 virtual CFX_Matrix GetWindowMatrix(void* pAttachedData) = 0; 182 virtual CFX_Matrix GetWindowMatrix(void* pAttachedData) = 0;
183 183
184 /* 184 /*
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 CPDF_Rect m_rcWindow; 460 CPDF_Rect m_rcWindow;
461 CPDF_Rect m_rcClip; 461 CPDF_Rect m_rcClip;
462 462
463 FX_BOOL m_bCreated; 463 FX_BOOL m_bCreated;
464 FX_BOOL m_bVisible; 464 FX_BOOL m_bVisible;
465 FX_BOOL m_bNotifying; 465 FX_BOOL m_bNotifying;
466 FX_BOOL m_bEnabled; 466 FX_BOOL m_bEnabled;
467 }; 467 };
468 468
469 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ 469 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698