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

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

Issue 2105843002: Updating SystemUI visibility events in Adroid Client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing feedback Created 4 years, 5 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 the OnSystemUiVisibilityChanged event.
9 *
10 * {@link android.graphics.Rect} is mutable, so this class owns four integers to represent the
11 * inset between the System UI elements which is used for our viewable content.
12 */
13 public final class SystemUiVisibilityChangedEventParameter {
14 public final boolean softInputMethodVisible;
15 public final boolean systemUiVisible;
16 public final int left;
17 public final int top;
18 public final int right;
19 public final int bottom;
20
21 public SystemUiVisibilityChangedEventParameter(boolean systemUiVisible,
22 boolean softInputMethodVisible, int left, int top, int right, int bo ttom) {
23 this.systemUiVisible = systemUiVisible;
24 this.softInputMethodVisible = softInputMethodVisible;
25 this.left = left;
26 this.top = top;
27 this.right = right;
28 this.bottom = bottom;
29 }
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698