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

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

Issue 188723005: Fix a brace style according to the style guide. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | 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 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 android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.app.Activity; 8 import android.app.Activity;
9 import android.content.ComponentCallbacks2; 9 import android.content.ComponentCallbacks2;
10 import android.content.Context; 10 import android.content.Context;
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 * @see android.webkit.WebView#performAccessibilityAction(int, Bundle) 1757 * @see android.webkit.WebView#performAccessibilityAction(int, Bundle)
1758 */ 1758 */
1759 public boolean performAccessibilityAction(int action, Bundle arguments) { 1759 public boolean performAccessibilityAction(int action, Bundle arguments) {
1760 return mContentViewCore.performAccessibilityAction(action, arguments); 1760 return mContentViewCore.performAccessibilityAction(action, arguments);
1761 } 1761 }
1762 1762
1763 /** 1763 /**
1764 * @see android.webkit.WebView#clearFormData() 1764 * @see android.webkit.WebView#clearFormData()
1765 */ 1765 */
1766 public void hideAutofillPopup() { 1766 public void hideAutofillPopup() {
1767 if (mAwAutofillManagerDelegate != null) 1767 if (mAwAutofillManagerDelegate != null) {
1768 mAwAutofillManagerDelegate.hideAutofillPopup(); 1768 mAwAutofillManagerDelegate.hideAutofillPopup();
1769 }
1769 } 1770 }
1770 1771
1771 public void setNetworkAvailable(boolean networkUp) { 1772 public void setNetworkAvailable(boolean networkUp) {
1772 if (mNativeAwContents == 0) return; 1773 if (mNativeAwContents == 0) return;
1773 nativeSetJsOnlineProperty(mNativeAwContents, networkUp); 1774 nativeSetJsOnlineProperty(mNativeAwContents, networkUp);
1774 } 1775 }
1775 1776
1776 //-------------------------------------------------------------------------- ------------------ 1777 //-------------------------------------------------------------------------- ------------------
1777 // Methods called from native via JNI 1778 // Methods called from native via JNI
1778 //-------------------------------------------------------------------------- ------------------ 1779 //-------------------------------------------------------------------------- ------------------
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2100 long nativeAwContents, boolean value, String requestingFrame); 2101 long nativeAwContents, boolean value, String requestingFrame);
2101 2102
2102 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean networkUp); 2103 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean networkUp);
2103 2104
2104 private native void nativeTrimMemoryOnRenderThread(long nativeAwContents, in t level, 2105 private native void nativeTrimMemoryOnRenderThread(long nativeAwContents, in t level,
2105 boolean visible); 2106 boolean visible);
2106 2107
2107 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo rter awPdfExporter); 2108 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo rter awPdfExporter);
2108 2109
2109 } 2110 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698