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

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

Issue 1301453002: Merge to XFA: Cleanup: Fix some unneeded semi-colons and bad spacing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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_ScrollBar.h ('k') | no next file » | 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_WND_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
9 9
10 #include "../../../core/include/fxcrt/fx_basic.h" 10 #include "../../../core/include/fxcrt/fx_basic.h"
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 virtual void OnCreate(PWL_CREATEPARAM& cp); 415 virtual void OnCreate(PWL_CREATEPARAM& cp);
416 virtual void OnCreated(); 416 virtual void OnCreated();
417 virtual void OnDestroy(); 417 virtual void OnDestroy();
418 418
419 virtual void OnSetFocus(); 419 virtual void OnSetFocus();
420 virtual void OnKillFocus(); 420 virtual void OnKillFocus();
421 421
422 virtual void OnEnabled(); 422 virtual void OnEnabled();
423 virtual void OnDisabled(); 423 virtual void OnDisabled();
424 424
425 void SetNotifyFlag(FX_BOOL bNotifying = TRUE) { m_bNotifying = bNotifying; }; 425 void SetNotifyFlag(FX_BOOL bNotifying = TRUE) { m_bNotifying = bNotifying; }
426 426
427 FX_BOOL IsValid() const; 427 FX_BOOL IsValid() const;
428 PWL_CREATEPARAM GetCreationParam() const; 428 PWL_CREATEPARAM GetCreationParam() const;
429 FX_BOOL IsNotifying() const { return m_bNotifying; } 429 FX_BOOL IsNotifying() const { return m_bNotifying; }
430 430
431 void InvalidateRectMove(const CPDF_Rect& rcOld, const CPDF_Rect& rcNew); 431 void InvalidateRectMove(const CPDF_Rect& rcOld, const CPDF_Rect& rcNew);
432 432
433 void PWLtoWnd(const CPDF_Point& point, int32_t& x, int32_t& y) const; 433 void PWLtoWnd(const CPDF_Point& point, int32_t& x, int32_t& y) const;
434 FX_RECT PWLtoWnd(const CPDF_Rect& rect) const; 434 FX_RECT PWLtoWnd(const CPDF_Rect& rect) const;
435 FX_HWND GetAttachedHWnd() const; 435 FX_HWND GetAttachedHWnd() const;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 CPDF_Rect m_rcWindow; 467 CPDF_Rect m_rcWindow;
468 CPDF_Rect m_rcClip; 468 CPDF_Rect m_rcClip;
469 469
470 FX_BOOL m_bCreated; 470 FX_BOOL m_bCreated;
471 FX_BOOL m_bVisible; 471 FX_BOOL m_bVisible;
472 FX_BOOL m_bNotifying; 472 FX_BOOL m_bNotifying;
473 FX_BOOL m_bEnabled; 473 FX_BOOL m_bEnabled;
474 }; 474 };
475 475
476 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ 476 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_ScrollBar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698