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

Side by Side Diff: fpdfsdk/src/formfiller/FFL_FormFiller.cpp

Issue 1415513004: Merge to XFA: Remove unused CFFL_Notify. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 2 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 #include "../../include/formfiller/FFL_FormFiller.h" 7 #include "../../include/formfiller/FFL_FormFiller.h"
8 #include "../../include/formfiller/FFL_Notify.h"
9 #include "../../include/formfiller/FFL_CBA_Fontmap.h" 8 #include "../../include/formfiller/FFL_CBA_Fontmap.h"
10 9
11 #define GetRed(rgb) ((uint8_t)(rgb)) 10 #define GetRed(rgb) ((uint8_t)(rgb))
12 #define GetGreen(rgb) ((uint8_t)(((FX_WORD)(rgb)) >> 8)) 11 #define GetGreen(rgb) ((uint8_t)(((FX_WORD)(rgb)) >> 8))
13 #define GetBlue(rgb) ((uint8_t)((rgb) >> 16)) 12 #define GetBlue(rgb) ((uint8_t)((rgb) >> 16))
14 13
15 #define FFL_HINT_ELAPSE 800 14 #define FFL_HINT_ELAPSE 800
16 15
17 /* ------------------------- CFFL_FormFiller ------------------------- */ 16 /* ------------------------- CFFL_FormFiller ------------------------- */
18 17
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); 715 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL);
717 } 716 }
718 717
719 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView* pPageView, 718 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView* pPageView,
720 CPDFSDK_Annot* pAnnot, 719 CPDFSDK_Annot* pAnnot,
721 CFX_RenderDevice* pDevice, 720 CFX_RenderDevice* pDevice,
722 CPDF_Matrix* pUser2Device, 721 CPDF_Matrix* pUser2Device,
723 FX_DWORD dwFlags) { 722 FX_DWORD dwFlags) {
724 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); 723 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
725 } 724 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698