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

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2786283002: [Android] Add a transparent Activity in Chrome to handle Browser Action Intent (Closed)
Patch Set: 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/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index d3f0b733bf655d109f60ad1a116ff779334f466d..ce61a2a49c96d0cea0d1b78f3d05fb511e102517 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -665,6 +665,20 @@ by a child template that "extends" this file.
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" >
</activity>
+ <!-- Activities for browser action -->
Yusuf 2017/03/31 23:43:12 Lets use BrowserActions everywhere as the feature
ltian 2017/04/03 19:22:03 Done.
+ {% if channel in ['default'] %}
+ <activity android:name="org.chromium.chrome.browser.browseraction.BrowserActionActivity"
+ android:theme="@style/FullscreenTransparentActivityTheme"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
+ <intent-filter>
+ <action android:name="android.support.customtabs.browser_action_open" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="http" />
+ <data android:scheme="https" />
+ </intent-filter>
+ </activity>
+ {% endif %}
+
<!-- Service for Broadcasting a Physical Web URL -->
<service
android:name="org.chromium.chrome.browser.physicalweb.PhysicalWebBroadcastService"

Powered by Google App Engine
This is Rietveld 408576698