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

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

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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/pdfwindow/PWL_Note.h ('k') | fpdfsdk/include/pdfwindow/PWL_Utils.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_PDFWINDOW_PWL_SCROLLBAR_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_
9 9
10 #include "PWL_Wnd.h" 10 #include "PWL_Wnd.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 public: 106 public:
107 virtual CFX_ByteString GetClassName() const; 107 virtual CFX_ByteString GetClassName() const;
108 virtual void OnCreate(PWL_CREATEPARAM & cp); 108 virtual void OnCreate(PWL_CREATEPARAM & cp);
109 virtual void RePosChildWnd(); 109 virtual void RePosChildWnd();
110 virtual void GetThisAppearanceStream(CFX_Byte TextBuf & sAppStream); 110 virtual void GetThisAppearanceStream(CFX_Byte TextBuf & sAppStream);
111 virtual void DrawThisAppearance(CFX_RenderDev ice* pDevice, CPDF_Matrix* pUser2Device); 111 virtual void DrawThisAppearance(CFX_RenderDev ice* pDevice, CPDF_Matrix* pUser2Device);
112 112
113 virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag); 113 virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag);
114 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag); 114 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag);
115 » virtual void» » » » OnNotify(CPWL_Wnd* pWnd, FX_DWOR D msg, FX_INTPTR wParam = 0, FX_INTPTR lParam = 0); 115 » virtual void» » » » OnNotify(CPWL_Wnd* pWnd, FX_DWOR D msg, intptr_t wParam = 0, intptr_t lParam = 0);
116 116
117 virtual void CreateChildWnd(const PWL_CREATEP ARAM & cp); 117 virtual void CreateChildWnd(const PWL_CREATEP ARAM & cp);
118 118
119 FX_FLOAT GetScrollBarWidth() cons t; 119 FX_FLOAT GetScrollBarWidth() cons t;
120 PWL_SCROLLBAR_TYPE GetScrollBarType() const {return m_sbType;}; 120 PWL_SCROLLBAR_TYPE GetScrollBarType() const {return m_sbType;};
121 121
122 void SetNotifyForever(FX_BOOL bForever) {m_bNotifyForever = bForever;} 122 void SetNotifyForever(FX_BOOL bForever) {m_bNotifyForever = bForever;}
123 123
124 protected: 124 protected:
125 void SetScrollRange(FX_FLOAT fMin,FX_FLOAT fMax,FX_FLOAT fClientWidth); 125 void SetScrollRange(FX_FLOAT fMin,FX_FLOAT fMax,FX_FLOAT fClientWidth);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 CPWL_SBButton* m_pPosButton; 157 CPWL_SBButton* m_pPosButton;
158 PWL_SCROLL_PRIVATEDATA m_sData; 158 PWL_SCROLL_PRIVATEDATA m_sData;
159 FX_BOOL m_bMouseDown; 159 FX_BOOL m_bMouseDown;
160 FX_BOOL m_bMinOrMax; 160 FX_BOOL m_bMinOrMax;
161 FX_BOOL m_bNotifyForever; 161 FX_BOOL m_bNotifyForever;
162 FX_FLOAT m_nOldPos; 162 FX_FLOAT m_nOldPos;
163 FX_FLOAT m_fOldPosButton; 163 FX_FLOAT m_fOldPosButton;
164 }; 164 };
165 165
166 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_ 166 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_SCROLLBAR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Note.h ('k') | fpdfsdk/include/pdfwindow/PWL_Utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698