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

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

Issue 2594153003: Remove CFX_ArrayTemplate, use unique_ptr in fpdfsdk/pdfwindow (Closed)
Patch Set: Fix compilation Created 3 years, 11 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/pdfwindow/PWL_FontMap.cpp ('k') | fpdfsdk/pdfwindow/PWL_Wnd.cpp » ('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_PDFWINDOW_PWL_WND_H_ 7 #ifndef FPDFSDK_PDFWINDOW_PWL_WND_H_
8 #define FPDFSDK_PDFWINDOW_PWL_WND_H_ 8 #define FPDFSDK_PDFWINDOW_PWL_WND_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 void CreateScrollBar(const PWL_CREATEPARAM& cp); 406 void CreateScrollBar(const PWL_CREATEPARAM& cp);
407 void CreateVScrollBar(const PWL_CREATEPARAM& cp); 407 void CreateVScrollBar(const PWL_CREATEPARAM& cp);
408 408
409 void AdjustStyle(); 409 void AdjustStyle();
410 void CreateMsgControl(); 410 void CreateMsgControl();
411 void DestroyMsgControl(); 411 void DestroyMsgControl();
412 412
413 CPWL_MsgControl* GetMsgControl() const; 413 CPWL_MsgControl* GetMsgControl() const;
414 414
415 protected: 415 protected:
416 CFX_ArrayTemplate<CPWL_Wnd*> m_aChildren; 416 std::vector<CPWL_Wnd*> m_Children;
417 417
418 private: 418 private:
419 PWL_CREATEPARAM m_sPrivateParam; 419 PWL_CREATEPARAM m_sPrivateParam;
420
421 CPWL_ScrollBar* m_pVScrollBar; 420 CPWL_ScrollBar* m_pVScrollBar;
422
423 CFX_FloatRect m_rcWindow; 421 CFX_FloatRect m_rcWindow;
424 CFX_FloatRect m_rcClip; 422 CFX_FloatRect m_rcClip;
425
426 bool m_bCreated; 423 bool m_bCreated;
427 bool m_bVisible; 424 bool m_bVisible;
428 bool m_bNotifying; 425 bool m_bNotifying;
429 bool m_bEnabled; 426 bool m_bEnabled;
430 }; 427 };
431 428
432 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ 429 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_
OLDNEW
« no previous file with comments | « fpdfsdk/pdfwindow/PWL_FontMap.cpp ('k') | fpdfsdk/pdfwindow/PWL_Wnd.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698