summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/pdf/constants.js
blob: 70da3e827d7e21fcf122f3bca1308120e0f1ca05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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.

/**
 * Enumeration of page fitting types.
 * @enum {string}
 */
export const FittingType = {
  NONE: 'none',
  FIT_TO_PAGE: 'fit-to-page',
  FIT_TO_WIDTH: 'fit-to-width',
  FIT_TO_HEIGHT: 'fit-to-height',
};

/**
 * Enumeration of two up view actions.
 * @enum {string}
 */
export const TwoUpViewAction = {
  TWO_UP_VIEW_ENABLE: 'two-up-view-enable',
  TWO_UP_VIEW_DISABLE: 'two-up-view-disable',
};