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

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

Issue 2777283005: Add an experimental search widget (Closed)
Patch Set: Moved initialize to FinishNativeInitialization 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
« no previous file with comments | « no previous file | chrome/android/java/res/layout/search_widget_template.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 45f9a379cb9906a64f7cd2a06ed8f63c5e0bb0ef..220369ff601dba09d3bbe534b37aa7366806f915 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -731,6 +731,37 @@ by a child template that "extends" this file.
<receiver android:name="org.chromium.chrome.browser.bookmarkswidget.BookmarkWidgetProxy"
android:exported="false" />
+ {% if channel in ['default'] %}
+ <!-- Search widget -->
+ <receiver android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider"
+ android:process=":search_widget">
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="org.chromium.chrome.browser.searchwidget.START_SEARCH_ACTIVITY" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="org.chromium.chrome.browser.searchwidget.UPDATE_ALL_WIDGETS" />
+ </intent-filter>
+ <meta-data android:name="android.appwidget.provider"
+ android:resource="@xml/search_widget_info" />
+ </receiver>
+
+ <!-- Search Activity -->
+ <activity android:name="org.chromium.chrome.browser.searchwidget.SearchActivity"
+ android:theme="@style/OverlayTheme"
+ android:label="Search"
+ android:exported="false"
+ android:launchMode="singleInstance"
+ android:taskAffinity=""
+ android:clearTaskOnLaunch="true"
+ android:excludeFromRecents="true"
+ android:windowSoftInputMode="adjustResize"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
+ android:hardwareAccelerated="false" />
+ {% endif %}
+
<!-- Receiver for GCM messages. -->
<receiver android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
« no previous file with comments | « no previous file | chrome/android/java/res/layout/search_widget_template.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698