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

Unified Diff: content/public/android/java/src/org/chromium/content_public/common/ContentUrlConstants.java

Issue 2780403002: WebView: change default shouldOverrideUrlLoading (Closed)
Patch Set: Squash commits Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/android/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content_public/common/ContentUrlConstants.java
diff --git a/content/public/android/java/src/org/chromium/content_public/common/ContentUrlConstants.java b/content/public/android/java/src/org/chromium/content_public/common/ContentUrlConstants.java
new file mode 100644
index 0000000000000000000000000000000000000000..7d22123759822a3ef124d40d4a28e1b044d1c51a
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content_public/common/ContentUrlConstants.java
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.content_public.common;
+
+/**
+ * URL constants used by both Chrome and WebView.
+ */
+public final class ContentUrlConstants {
+ public static final String ABOUT_SCHEME = "about";
+
+ public static final String ABOUT_URL_SHORT_PREFIX = "about:";
+
+ public static final String ABOUT_BLANK_DISPLAY_URL = "about:blank";
+ public static final String ABOUT_BLANK_URL = "about://blank";
+
+ private ContentUrlConstants() {}
+}
« no previous file with comments | « content/public/android/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698