| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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 package org.chromium.chromoting; | |
| 6 | |
| 7 /** | |
| 8 * The parameter for an OnSoftInputMethodVisibilityChanged event. | |
| 9 * | |
| 10 * {@link android.graphics.Rect} is mutable, so this class owns four integers to
represent the | |
| 11 * rectangle of new layout. | |
| 12 */ | |
| 13 public final class SoftInputMethodVisibilityChangedEventParameter { | |
| 14 public final boolean visible; | |
| 15 public final int left; | |
| 16 public final int top; | |
| 17 public final int right; | |
| 18 public final int bottom; | |
| 19 | |
| 20 public SoftInputMethodVisibilityChangedEventParameter(boolean visible, | |
| 21 int left, | |
| 22 int top, | |
| 23 int right, | |
| 24 int bottom) { | |
| 25 this.visible = visible; | |
| 26 this.left = left; | |
| 27 this.top = top; | |
| 28 this.right = right; | |
| 29 this.bottom = bottom; | |
| 30 } | |
| 31 } | |
| OLD | NEW |