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

Side by Side Diff: core/fpdfdoc/clines.h

Issue 2060913003: Make code compile with clang_use_chrome_plugin (part II) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: revert some string changes Created 4 years, 6 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
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FPDFDOC_CLINES_H_
8 #define CORE_FPDFDOC_CLINES_H_
9
10 #include "core/fpdfdoc/pdf_vt.h"
11
12 class CLines final {
13 public:
14 CLines();
15 ~CLines();
16
17 int32_t GetSize() const;
18 CLine* GetAt(int32_t nIndex) const;
19
20 void Empty();
21 void RemoveAll();
22 int32_t Add(const CPVT_LineInfo& lineinfo);
23 void Clear();
24
25 private:
26 CPVT_ArrayTemplate<CLine*> m_Lines;
27 int32_t m_nTotal;
28 };
29 #endif // CORE_FPDFDOC_CLINES_H_
dsinclair 2016/06/14 20:12:48 nit: blank line before #endif
Wei Li 2016/06/14 22:00:54 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698