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

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

Issue 2229353003: Clean up document-mode specific UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused fields. Created 4 years, 4 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 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.externalnav; 5 package org.chromium.chrome.browser.externalnav;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 import android.content.pm.ResolveInfo; 8 import android.content.pm.ResolveInfo;
9 9
10 import org.chromium.chrome.browser.externalnav.ExternalNavigationHandler.Overrid eUrlLoadingResult; 10 import org.chromium.chrome.browser.externalnav.ExternalNavigationHandler.Overrid eUrlLoadingResult;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 /** Adds the package name of a specialized intent handler. */ 109 /** Adds the package name of a specialized intent handler. */
110 void maybeRecordAppHandlersInIntent(Intent intent, List<ResolveInfo> info); 110 void maybeRecordAppHandlersInIntent(Intent intent, List<ResolveInfo> info);
111 111
112 /** 112 /**
113 * Determine if the Chrome app is in the foreground. 113 * Determine if the Chrome app is in the foreground.
114 */ 114 */
115 boolean isChromeAppInForeground(); 115 boolean isChromeAppInForeground();
116 116
117 /** 117 /**
118 * Check if Chrome is running in document mode.
119 */
120 boolean isDocumentMode();
121
122 /**
123 * @return Default SMS application's package name. Null if there isn't any. 118 * @return Default SMS application's package name. Null if there isn't any.
124 */ 119 */
125 String getDefaultSmsPackageName(); 120 String getDefaultSmsPackageName();
126 121
127 /** 122 /**
128 * @return Whether the URL is a file download. 123 * @return Whether the URL is a file download.
129 */ 124 */
130 boolean isPdfDownload(String url); 125 boolean isPdfDownload(String url);
131 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698