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

Side by Side Diff: fpdfsdk/include/fx_systemhandler.h

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/fsdk_annothandler.h ('k') | fpdfsdk/include/fxedit/fx_edit.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_FX_SYSTEMHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_
8 #define FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ 8 #define FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_
9 9
10 #include "core/include/fpdfapi/fpdf_parser.h" 10 #include "core/include/fpdfapi/fpdf_parser.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 class IFX_SystemHandler { 49 class IFX_SystemHandler {
50 public: 50 public:
51 virtual ~IFX_SystemHandler() {} 51 virtual ~IFX_SystemHandler() {}
52 virtual void InvalidateRect(FX_HWND hWnd, FX_RECT rect) = 0; 52 virtual void InvalidateRect(FX_HWND hWnd, FX_RECT rect) = 0;
53 virtual void OutputSelectedRect(void* pFormFiller, CFX_FloatRect& rect) = 0; 53 virtual void OutputSelectedRect(void* pFormFiller, CFX_FloatRect& rect) = 0;
54 54
55 virtual FX_BOOL IsSelectionImplemented() = 0; 55 virtual FX_BOOL IsSelectionImplemented() = 0;
56 56
57 virtual CFX_WideString GetClipboardText(FX_HWND hWnd) = 0; 57 virtual CFX_WideString GetClipboardText(FX_HWND hWnd) = 0;
58 virtual FX_BOOL SetClipboardText(FX_HWND hWnd, CFX_WideString string) = 0; 58 virtual FX_BOOL SetClipboardText(FX_HWND hWnd, CFX_WideString str) = 0;
59 59
60 virtual void ClientToScreen(FX_HWND hWnd, int32_t& x, int32_t& y) = 0; 60 virtual void ClientToScreen(FX_HWND hWnd, int32_t& x, int32_t& y) = 0;
61 virtual void ScreenToClient(FX_HWND hWnd, int32_t& x, int32_t& y) = 0; 61 virtual void ScreenToClient(FX_HWND hWnd, int32_t& x, int32_t& y) = 0;
62 62
63 /*cursor style 63 /*cursor style
64 FXCT_ARROW 64 FXCT_ARROW
65 FXCT_NESW 65 FXCT_NESW
66 FXCT_NWSE 66 FXCT_NWSE
67 FXCT_VBEAM 67 FXCT_VBEAM
68 FXCT_HBEAM 68 FXCT_HBEAM
69 FXCT_HAND 69 FXCT_HAND
70 */ 70 */
71 virtual void SetCursor(int32_t nCursorType) = 0; 71 virtual void SetCursor(int32_t nCursorType) = 0;
72 72
73 virtual FX_HMENU CreatePopupMenu() = 0; 73 virtual FX_HMENU CreatePopupMenu() = 0;
74 virtual FX_BOOL AppendMenuItem(FX_HMENU hMenu, 74 virtual FX_BOOL AppendMenuItem(FX_HMENU hMenu,
75 int32_t nIDNewItem, 75 int32_t nIDNewItem,
76 CFX_WideString string) = 0; 76 CFX_WideString str) = 0;
77 virtual FX_BOOL EnableMenuItem(FX_HMENU hMenu, 77 virtual FX_BOOL EnableMenuItem(FX_HMENU hMenu,
78 int32_t nIDItem, 78 int32_t nIDItem,
79 FX_BOOL bEnabled) = 0; 79 FX_BOOL bEnabled) = 0;
80 virtual int32_t TrackPopupMenu(FX_HMENU hMenu, 80 virtual int32_t TrackPopupMenu(FX_HMENU hMenu,
81 int32_t x, 81 int32_t x,
82 int32_t y, 82 int32_t y,
83 FX_HWND hParent) = 0; 83 FX_HWND hParent) = 0;
84 virtual void DestroyMenu(FX_HMENU hMenu) = 0; 84 virtual void DestroyMenu(FX_HMENU hMenu) = 0;
85 85
86 virtual CFX_ByteString GetNativeTrueTypeFont(int32_t nCharset) = 0; 86 virtual CFX_ByteString GetNativeTrueTypeFont(int32_t nCharset) = 0;
(...skipping 11 matching lines...) Expand all
98 virtual FX_BOOL IsALTKeyDown(FX_DWORD nFlag) = 0; 98 virtual FX_BOOL IsALTKeyDown(FX_DWORD nFlag) = 0;
99 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag) = 0; 99 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag) = 0;
100 100
101 virtual FX_SYSTEMTIME GetLocalTime() = 0; 101 virtual FX_SYSTEMTIME GetLocalTime() = 0;
102 102
103 virtual int32_t GetCharSet() = 0; 103 virtual int32_t GetCharSet() = 0;
104 virtual void SetCharSet(int32_t nCharSet) = 0; 104 virtual void SetCharSet(int32_t nCharSet) = 0;
105 }; 105 };
106 106
107 #endif // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ 107 #endif // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fsdk_annothandler.h ('k') | fpdfsdk/include/fxedit/fx_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698