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

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

Issue 2026953002: Disable external navigation for file downloads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 | chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegate.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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; 5 package org.chromium.chrome.browser;
6 6
7 import org.chromium.base.annotations.JNINamespace; 7 import org.chromium.base.annotations.JNINamespace;
8 import org.chromium.base.annotations.MainDex; 8 import org.chromium.base.annotations.MainDex;
9 9
10 /** 10 /**
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 public static boolean isEnabled(String featureName) { 28 public static boolean isEnabled(String featureName) {
29 return nativeIsEnabled(featureName); 29 return nativeIsEnabled(featureName);
30 } 30 }
31 31
32 public static final String MEDIA_STYLE_NOTIFICATION = "MediaStyleNotificatio n"; 32 public static final String MEDIA_STYLE_NOTIFICATION = "MediaStyleNotificatio n";
33 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText"; 33 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText";
34 public static final String NTP_MATERIAL_DESIGN = "NTPMaterialDesign"; 34 public static final String NTP_MATERIAL_DESIGN = "NTPMaterialDesign";
35 public static final String NTP_SNIPPETS = "NTPSnippets"; 35 public static final String NTP_SNIPPETS = "NTPSnippets";
36 public static final String NTP_TOOLBAR = "NTPToolbar"; 36 public static final String NTP_TOOLBAR = "NTPToolbar";
37 public static final String SYSTEM_DOWNLOAD_MANAGER = "SystemDownloadManager" ;
37 38
38 private static native boolean nativeIsEnabled(String featureName); 39 private static native boolean nativeIsEnabled(String featureName);
39 } 40 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698