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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java

Issue 652603004: Fix Java Checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issues in DeviceSensors Created 6 years, 2 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
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.content.browser; 5 package org.chromium.content.browser;
6 6
7 import org.chromium.net.ProxyChangeListener; 7 import org.chromium.net.ProxyChangeListener;
8 8
9 /** 9 /**
10 * Implementations of various static methods. 10 * Implementations of various static methods.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 * Notifications are enabled by default. 42 * Notifications are enabled by default.
43 */ 43 */
44 public static void enablePlatformNotifications() { 44 public static void enablePlatformNotifications() {
45 ProxyChangeListener.setEnabled(true); 45 ProxyChangeListener.setEnabled(true);
46 } 46 }
47 47
48 /** 48 /**
49 * Disables platform notifications of data state and proxy changes. 49 * Disables platform notifications of data state and proxy changes.
50 * Notifications are enabled by default. 50 * Notifications are enabled by default.
51 */ 51 */
52 public static void disablePlatformNotifications () { 52 public static void disablePlatformNotifications() {
53 ProxyChangeListener.setEnabled(false); 53 ProxyChangeListener.setEnabled(false);
54 } 54 }
55 55
56 // Native functions 56 // Native functions
57 57
58 private static native String nativeFindAddress(String addr); 58 private static native String nativeFindAddress(String addr);
59 59
60 private static native void nativeSetWebKitSharedTimersSuspended(boolean susp end); 60 private static native void nativeSetWebKitSharedTimersSuspended(boolean susp end);
61 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698