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

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

Issue 110963003: Fixing all Java import ordering issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ReBaSe Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 import android.app.Activity; 7 import android.app.Activity;
8 import android.content.res.Configuration; 8 import android.content.res.Configuration;
9 import android.os.Bundle; 9 import android.os.Bundle;
10 import android.util.Log;
11 import android.view.KeyEvent; 10 import android.view.KeyEvent;
12 import android.view.Menu; 11 import android.view.Menu;
13 import android.view.MenuItem; 12 import android.view.MenuItem;
14 import android.view.WindowManager;
15 import android.view.inputmethod.InputMethodManager; 13 import android.view.inputmethod.InputMethodManager;
16 14
17 import org.chromium.chromoting.jni.JniInterface; 15 import org.chromium.chromoting.jni.JniInterface;
18 16
19 /** 17 /**
20 * A simple screen that does nothing except display a DesktopView and notify it of rotations. 18 * A simple screen that does nothing except display a DesktopView and notify it of rotations.
21 */ 19 */
22 public class Desktop extends Activity { 20 public class Desktop extends Activity {
23 /** The surface that displays the remote host's desktop feed. */ 21 /** The surface that displays the remote host's desktop feed. */
24 private DesktopView remoteHostDesktop; 22 private DesktopView remoteHostDesktop;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 JniInterface.keyboardAction(KeyEvent.KEYCODE_EQUALS, depressed); 92 JniInterface.keyboardAction(KeyEvent.KEYCODE_EQUALS, depressed);
95 break; 93 break;
96 default: 94 default:
97 // We try to send all other key codes to the host directly. 95 // We try to send all other key codes to the host directly.
98 JniInterface.keyboardAction(event.getKeyCode(), depressed); 96 JniInterface.keyboardAction(event.getKeyCode(), depressed);
99 } 97 }
100 98
101 return super.dispatchKeyEvent(event); 99 return super.dispatchKeyEvent(event);
102 } 100 }
103 } 101 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698