Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: remoting/android/java/src/org/chromium/chromoting/SoftInputMethodVisibilityChangedEventParameter.java

Issue 2035303002: [Chromoting] Decouple DesktopView and TouchInputHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698