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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java

Issue 2755003003: Add Interstitial for user consent (Closed)
Patch Set: Matts Nits 1 Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
index e79d47a9df396cff10ee8182e0c016d6f9883fc6..120968bc1b207c47c998e49d88af4ee0526ff05e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
@@ -103,6 +103,7 @@ import org.chromium.chrome.browser.omaha.UpdateMenuItemHelper;
import org.chromium.chrome.browser.pageinfo.WebsiteSettingsPopup;
import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomizations;
import org.chromium.chrome.browser.physicalweb.PhysicalWebShareActivity;
+import org.chromium.chrome.browser.physicalweb.PhysicalWebShareEntryActivity;
import org.chromium.chrome.browser.preferences.ChromePreferenceManager;
import org.chromium.chrome.browser.preferences.PrefServiceBridge;
import org.chromium.chrome.browser.preferences.PreferencesLauncher;
@@ -1837,6 +1838,10 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
new PrintManagerDelegateImpl(this));
RecordUserAction.record("MobileMenuPrint");
}
+ } else if (id == R.id.physical_web_sharing_id) {
+ Intent intent = new Intent(this, PhysicalWebShareEntryActivity.class);
Ted C 2017/03/20 21:05:59 I saw the commit message, but I'm not sure I follo
iankc 2017/03/20 21:32:22 The problem isn't gaining access to the URL. The p
Ted C 2017/03/21 00:01:22 I guess I'm surprised as the manager only unregist
iankc 2017/03/21 01:19:52 When 0. Click Share on menu. 1. Log: Components En
+ intent.putExtra(PhysicalWebShareEntryActivity.SHARING_ENTRY_URL, currentTab.getUrl());
+ startActivity(intent);
} else if (id == R.id.add_to_homescreen_id) {
AddToHomescreenManager addToHomescreenManager =
new AddToHomescreenManager(this, currentTab);

Powered by Google App Engine
This is Rietveld 408576698