OLD | NEW |
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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 sCachedHerbFlavor = newFlavor; | 285 sCachedHerbFlavor = newFlavor; |
286 | 286 |
287 if (!TextUtils.equals(oldFlavor, newFlavor)) { | 287 if (!TextUtils.equals(oldFlavor, newFlavor)) { |
288 ChromePreferenceManager.getInstance(context).setCachedHerbFlavor(new
Flavor); | 288 ChromePreferenceManager.getInstance(context).setCachedHerbFlavor(new
Flavor); |
289 } | 289 } |
290 } | 290 } |
291 | 291 |
292 private static native void nativeSetDocumentModeEnabled(boolean enabled); | 292 private static native void nativeSetDocumentModeEnabled(boolean enabled); |
293 private static native void nativeSetCustomTabVisible(boolean visible); | 293 private static native void nativeSetCustomTabVisible(boolean visible); |
294 private static native void nativeSetIsInMultiWindowMode(boolean isInMultiWin
dowMode); | 294 private static native void nativeSetIsInMultiWindowMode(boolean isInMultiWin
dowMode); |
295 public static native void nativeSetSqlMmapDisabledByDefault(); | |
296 } | 295 } |
OLD | NEW |