summaryrefslogtreecommitdiff
path: root/chromium/pdf/pdf_engine.cc
blob: 05c51319cb2d9af91dc5e2e9c526c00b707bb757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "pdf/pdf_engine.h"

namespace chrome_pdf {

PDFEngine::PageFeatures::PageFeatures(){};

PDFEngine::PageFeatures::PageFeatures(const PageFeatures& other)
    : index(other.index), annotation_types(other.annotation_types) {}

PDFEngine::PageFeatures::~PageFeatures(){};

bool PDFEngine::PageFeatures::IsInitialized() const {
  return index >= 0;
}

}  // namespace chrome_pdf