Upload upstream chromium 76.0.3809.146
[platform/framework/web/chromium-efl.git] / pdf / pdf_engine.cc
1 // Copyright 2017 The Chromium 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 #include "pdf/pdf_engine.h"
6
7 namespace chrome_pdf {
8
9 PDFEngine::PageFeatures::PageFeatures() {}
10
11 PDFEngine::PageFeatures::PageFeatures(const PageFeatures& other)
12     : index(other.index), annotation_types(other.annotation_types) {}
13
14 PDFEngine::PageFeatures::~PageFeatures() {}
15
16 bool PDFEngine::PageFeatures::IsInitialized() const {
17   return index >= 0;
18 }
19
20 }  // namespace chrome_pdf