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

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

Issue 2485143004: Always consider SystemUI for panning boundaries in split-screen mode (Closed)
Patch Set: Addressing CR Fedback Created 4 years, 1 month 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
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chromoting; 5 package org.chromium.chromoting;
6 6
7 /** 7 /**
8 * The parameter for the OnSystemUiVisibilityChanged event. 8 * The parameter for the OnSystemUiVisibilityChanged event.
9 * 9 *
10 * {@link android.graphics.Rect} is mutable, so this class owns four integers to represent the 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. 11 * inset between the System UI elements which is used for our viewable content.
12 */ 12 */
13 public final class SystemUiVisibilityChangedEventParameter { 13 public final class SystemUiVisibilityChangedEventParameter {
14 public final boolean softInputMethodVisible;
15 public final boolean systemUiVisible;
16 public final int left; 14 public final int left;
17 public final int top; 15 public final int top;
18 public final int right; 16 public final int right;
19 public final int bottom; 17 public final int bottom;
20 18
21 public SystemUiVisibilityChangedEventParameter(boolean systemUiVisible, 19 public SystemUiVisibilityChangedEventParameter(int left, int top, int right, int bottom) {
22 boolean softInputMethodVisible, int left, int top, int right, int bo ttom) {
23 this.systemUiVisible = systemUiVisible;
24 this.softInputMethodVisible = softInputMethodVisible;
25 this.left = left; 20 this.left = left;
26 this.top = top; 21 this.top = top;
27 this.right = right; 22 this.right = right;
28 this.bottom = bottom; 23 this.bottom = bottom;
29 } 24 }
30 } 25 }
OLDNEW
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698