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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/JsResultHandler.java

Issue 98853009: Fixing Java style issues in android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bo's nits 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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.android_webview; 5 package org.chromium.android_webview;
6 6
7 import org.chromium.base.ThreadUtils; 7 import org.chromium.base.ThreadUtils;
8 8
9 class JsResultHandler implements JsResultReceiver, JsPromptResultReceiver { 9 class JsResultHandler implements JsResultReceiver, JsPromptResultReceiver {
10 private AwContentsClientBridge mBridge; 10 private AwContentsClientBridge mBridge;
11 private final int mId; 11 private final int mId;
(...skipping 25 matching lines...) Expand all
37 ThreadUtils.runOnUiThread(new Runnable() { 37 ThreadUtils.runOnUiThread(new Runnable() {
38 @Override 38 @Override
39 public void run() { 39 public void run() {
40 if (mBridge != null) 40 if (mBridge != null)
41 mBridge.cancelJsResult(mId); 41 mBridge.cancelJsResult(mId);
42 mBridge = null; 42 mBridge = null;
43 } 43 }
44 }); 44 });
45 } 45 }
46 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698