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

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

Issue 1915353002: Include a ComponentName in bookmark intents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use correct package in intent extra Created 4 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkUtils.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java
index d36f6c6f7a3b5b43dea96a95fc2109c407962c51..dff21aaff56da7e13524acf8ba48d8dcca7a378b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java
@@ -84,6 +84,13 @@ public class IntentHandler {
public static final String EXTRA_PARENT_INTENT = "com.android.chrome.parent_intent";
/**
+ * ComponentName of the parent Activity. Can be used by an Activity launched on top of another
+ * Activity (e.g. BookmarkActivity) to intent back into the Activity it sits on top of.
+ */
+ public static final String EXTRA_PARENT_COMPONENT =
+ "org.chromium.chrome.browser.parent_component";
+
+ /**
* Transition type is only set internally by a first-party app and has to be signed.
*/
public static final String EXTRA_PAGE_TRANSITION_TYPE = "com.google.chrome.transition_type";
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698