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

Unified Diff: fpdfsdk/include/fsdk_baseform.h

Issue 1737593006: Re-land "Replace CPDF_Rect and CPDF_Point with CFX types." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Ooops. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_baseannot.h ('k') | fpdfsdk/include/fsdk_mgr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/fsdk_baseform.h
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h
index 44ba5726a4ea0e80f648bbfc12f656385a04996f..ac34528d4d19317f7694c1e6fa488d43f0f317df 100644
--- a/fpdfsdk/include/fsdk_baseform.h
+++ b/fpdfsdk/include/fsdk_baseform.h
@@ -187,8 +187,8 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
void ResetAppearance_ListBox();
void ResetAppearance_TextField(const FX_WCHAR* sValue);
- CPDF_Rect GetClientRect() const;
- CPDF_Rect GetRotatedRect() const;
+ CFX_FloatRect GetClientRect() const;
+ CFX_FloatRect GetRotatedRect() const;
CFX_ByteString GetBackgroundAppStream() const;
CFX_ByteString GetBorderAppStream() const;
@@ -384,7 +384,7 @@ class CBA_AnnotIterator {
private:
void GenerateResults();
- static CPDF_Rect GetAnnotRect(const CPDFSDK_Annot* pAnnot);
+ static CFX_FloatRect GetAnnotRect(const CPDFSDK_Annot* pAnnot);
// Function signature compatible with std::sort().
static bool CompareByLeftAscending(const CPDFSDK_Annot* p1,
« no previous file with comments | « fpdfsdk/include/fsdk_baseannot.h ('k') | fpdfsdk/include/fsdk_mgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698