Chromium Code Reviews| Index: fpdfsdk/cfx_systemhandler.cpp |
| diff --git a/fpdfsdk/cfx_systemhandler.cpp b/fpdfsdk/cfx_systemhandler.cpp |
| index 95a940d1ff02c0b41ba6ac9c4c27c5ab94fb5ba9..63b3b0a0b44e5cd40d5358d36384d351643f3e8d 100644 |
| --- a/fpdfsdk/cfx_systemhandler.cpp |
| +++ b/fpdfsdk/cfx_systemhandler.cpp |
| @@ -125,18 +125,14 @@ FX_SYSTEMTIME CFX_SystemHandler::GetLocalTime() { |
| return m_pEnv->FFI_GetLocalTime(); |
| } |
| -bool CFX_SystemHandler::IsSHIFTKeyDown(uint32_t nFlag) const { |
| +FX_BOOL CFX_SystemHandler::IsSHIFTKeyDown(uint32_t nFlag) const { |
| return m_pEnv->FFI_IsSHIFTKeyDown(nFlag); |
|
Tom Sepez
2016/04/28 16:24:54
How about keeping the return type as bool, and cha
dsinclair
2016/04/28 17:14:50
Done.
|
| } |
| -bool CFX_SystemHandler::IsCTRLKeyDown(uint32_t nFlag) const { |
| +FX_BOOL CFX_SystemHandler::IsCTRLKeyDown(uint32_t nFlag) const { |
| return m_pEnv->FFI_IsCTRLKeyDown(nFlag); |
| } |
| -bool CFX_SystemHandler::IsALTKeyDown(uint32_t nFlag) const { |
| +FX_BOOL CFX_SystemHandler::IsALTKeyDown(uint32_t nFlag) const { |
| return m_pEnv->FFI_IsALTKeyDown(nFlag); |
| } |
| - |
| -bool CFX_SystemHandler::IsINSERTKeyDown(uint32_t nFlag) const { |
| - return m_pEnv->FFI_IsINSERTKeyDown(nFlag); |
| -} |