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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java

Issue 964873004: Show AboutChromePreferences "updates no longer supported" warning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chrome/android/java/src/org/chromium/chrome/browser/preferences/AboutChromePreferences.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.chrome.browser.util; 5 package org.chromium.chrome.browser.util;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.annotation.TargetApi; 8 import android.annotation.TargetApi;
9 import android.content.Context; 9 import android.content.Context;
10 import android.content.Intent; 10 import android.content.Intent;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
116 /** 116 /**
117 * Records the current document mode state with native-side feature utilitie s. 117 * Records the current document mode state with native-side feature utilitie s.
118 * @param enabled Whether the document mode is enabled. 118 * @param enabled Whether the document mode is enabled.
119 */ 119 */
120 public static void setDocumentModeEnabled(boolean enabled) { 120 public static void setDocumentModeEnabled(boolean enabled) {
121 nativeSetDocumentModeEnabled(enabled); 121 nativeSetDocumentModeEnabled(enabled);
122 } 122 }
123 123
124 public static boolean isApplicationUpdateSupported() {
125 return true;
126 }
127
128 private static native void nativeSetDocumentModeEnabled(boolean enabled); 124 private static native void nativeSetDocumentModeEnabled(boolean enabled);
129 } 125 }
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/preferences/AboutChromePreferences.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698