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

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

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 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
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 _PWL_SPECIALBUTTON_H_ 7 #ifndef _PWL_SPECIALBUTTON_H_
8 #define _PWL_SPECIALBUTTON_H_ 8 #define _PWL_SPECIALBUTTON_H_
9 9
10 #if _MSC_VER > 1000 10 #if _MSC_VER > 1000
11 #pragma once 11 #pragma once
12 #endif // _MSC_VER > 1000 12 #endif // _MSC_VER > 1000
13 13
14 class PWL_CLASS CPWL_PushButton : public CPWL_Button 14 class PWL_CLASS CPWL_PushButton : public CPWL_Button {
15 { 15 public:
16 public: 16 CPWL_PushButton();
17 » CPWL_PushButton(); 17 virtual ~CPWL_PushButton();
18 » virtual ~CPWL_PushButton();
19 18
20 public: 19 public:
21 » virtual CFX_ByteString» » GetClassName() const; 20 virtual CFX_ByteString GetClassName() const;
22 » virtual CPDF_Rect» » » GetFocusRect() const; 21 virtual CPDF_Rect GetFocusRect() const;
23 }; 22 };
24 23
25 class PWL_CLASS CPWL_CheckBox : public CPWL_Button 24 class PWL_CLASS CPWL_CheckBox : public CPWL_Button {
26 { 25 public:
27 public: 26 CPWL_CheckBox();
28 » CPWL_CheckBox(); 27 virtual ~CPWL_CheckBox();
29 » virtual ~CPWL_CheckBox();
30 28
31 public: 29 public:
32 » virtual CFX_ByteString» » GetClassName() const; 30 virtual CFX_ByteString GetClassName() const;
33 » virtual FX_BOOL»» » » OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag); 31 virtual FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag);
34 » virtual FX_BOOL»» » » OnChar(FX_WORD nChar, FX_DWORD n Flag); 32 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag);
35 33
36 » void» » » » » » SetCheck(FX_BOOL bCheck) ; 34 void SetCheck(FX_BOOL bCheck);
37 » FX_BOOL»» » » » » IsChecked() const; 35 FX_BOOL IsChecked() const;
38 36
39 private: 37 private:
40 » FX_BOOL»» » » » » m_bChecked; 38 FX_BOOL m_bChecked;
41 }; 39 };
42 40
43 class PWL_CLASS CPWL_RadioButton : public CPWL_Button 41 class PWL_CLASS CPWL_RadioButton : public CPWL_Button {
44 { 42 public:
45 public: 43 CPWL_RadioButton();
46 » CPWL_RadioButton(); 44 virtual ~CPWL_RadioButton();
47 » virtual ~CPWL_RadioButton();
48 45
49 public: 46 public:
50 » virtual CFX_ByteString» » GetClassName() const; 47 virtual CFX_ByteString GetClassName() const;
51 » virtual FX_BOOL»» » » OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag); 48 virtual FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag);
52 » virtual FX_BOOL»» » » OnChar(FX_WORD nChar, FX_DWORD n Flag); 49 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag);
53 50
54 » void» » » » » » SetCheck(FX_BOOL bCheck) ; 51 void SetCheck(FX_BOOL bCheck);
55 » FX_BOOL»» » » » » IsChecked() const; 52 FX_BOOL IsChecked() const;
56 53
57 private: 54 private:
58 » FX_BOOL»» » » » » m_bChecked; 55 FX_BOOL m_bChecked;
59 }; 56 };
60 57
61 #endif 58 #endif
62
63
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698