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

Side by Side Diff: fpdfsdk/cfx_systemhandler.h

Issue 1929963002: Change bool type to fix warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | fpdfsdk/cfx_systemhandler.cpp » ('j') | fpdfsdk/cfx_systemhandler.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_CFX_SYSTEMHANDLER_H_ 7 #ifndef FPDFSDK_CFX_SYSTEMHANDLER_H_
8 #define FPDFSDK_CFX_SYSTEMHANDLER_H_ 8 #define FPDFSDK_CFX_SYSTEMHANDLER_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 bool IsSelectionImplemented() const; 58 bool IsSelectionImplemented() const;
59 59
60 void SetCursor(int32_t nCursorType); 60 void SetCursor(int32_t nCursorType);
61 61
62 bool FindNativeTrueTypeFont(int32_t nCharset, CFX_ByteString sFontFaceName); 62 bool FindNativeTrueTypeFont(int32_t nCharset, CFX_ByteString sFontFaceName);
63 CPDF_Font* AddNativeTrueTypeFontToPDF(CPDF_Document* pDoc, 63 CPDF_Font* AddNativeTrueTypeFontToPDF(CPDF_Document* pDoc,
64 CFX_ByteString sFontFaceName, 64 CFX_ByteString sFontFaceName,
65 uint8_t nCharset); 65 uint8_t nCharset);
66 int32_t SetTimer(int32_t uElapse, TimerCallback lpTimerFunc); 66 int32_t SetTimer(int32_t uElapse, TimerCallback lpTimerFunc);
67 void KillTimer(int32_t nID); 67 void KillTimer(int32_t nID);
68 bool IsSHIFTKeyDown(uint32_t nFlag) const; 68 FX_BOOL IsSHIFTKeyDown(uint32_t nFlag) const;
69 bool IsCTRLKeyDown(uint32_t nFlag) const; 69 FX_BOOL IsCTRLKeyDown(uint32_t nFlag) const;
70 bool IsALTKeyDown(uint32_t nFlag) const; 70 FX_BOOL IsALTKeyDown(uint32_t nFlag) const;
71 bool IsINSERTKeyDown(uint32_t nFlag) const;
72 71
73 FX_SYSTEMTIME GetLocalTime(); 72 FX_SYSTEMTIME GetLocalTime();
74 73
75 int32_t GetCharSet() const { return m_nCharSet; } 74 int32_t GetCharSet() const { return m_nCharSet; }
76 void SetCharSet(int32_t nCharSet) { m_nCharSet = nCharSet; } 75 void SetCharSet(int32_t nCharSet) { m_nCharSet = nCharSet; }
77 76
78 private: 77 private:
79 CPDFDoc_Environment* const m_pEnv; 78 CPDFDoc_Environment* const m_pEnv;
80 int m_nCharSet; 79 int m_nCharSet;
81 }; 80 };
82 81
83 #endif // FPDFSDK_CFX_SYSTEMHANDLER_H_ 82 #endif // FPDFSDK_CFX_SYSTEMHANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/cfx_systemhandler.cpp » ('j') | fpdfsdk/cfx_systemhandler.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698