Update git submodules
[LibreOffice.git] / android / source / src / java / org / mozilla / gecko / ZoomConstraints.java
blobdbe2788272790f09dc76d627993247dcf4bc9bf9
1 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 package org.mozilla.gecko;
8 public final class ZoomConstraints {
9 private final float mDefaultZoom;
10 private final float mMinZoom;
11 private final float mMaxZoom;
13 public ZoomConstraints(float defaultZoom, float minZoom, float maxZoom) {
14 mDefaultZoom = defaultZoom;
15 mMinZoom = minZoom;
16 mMaxZoom = maxZoom;
19 public final float getDefaultZoom() {
20 return mDefaultZoom;
23 public final float getMinZoom() {
24 return mMinZoom;
27 public final float getMaxZoom() {
28 return mMaxZoom;