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

Issue 1202893003: Make Contextual Search work in chrome custom tabs (Closed)

Created:
5 years, 6 months ago by Ian Wen
Modified:
5 years, 5 months ago
CC:
chromium-reviews, ianwen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Contextual Search work in chrome custom tabs After we disable new tab creation in custom tabs, the Contextual search feature has been broken as it relies on the ChromeActivity to create a tab for it to load the result. This CL makes the custom tab loads the result directly in the same tab. BUG=496418 Committed: https://crrev.com/6a91472770fa114eaa33ce9703884a82abd32d13 Cr-Commit-Position: refs/heads/master@{#336292}

Patch Set 1 #

Total comments: 4

Patch Set 2 : use mTab instead #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java View 1 2 2 chunks +13 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (6 generated)
Ian Wen
ptal.
5 years, 6 months ago (2015-06-24 00:11:45 UTC) #2
pedro (no code reviews)
lgtm Thanks Ian for taking care of this!
5 years, 6 months ago (2015-06-24 00:19:15 UTC) #3
Yusuf
https://codereview.chromium.org/1202893003/diff/1/chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java File chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java (right): https://codereview.chromium.org/1202893003/diff/1/chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java#newcode261 chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java:261: if (currentTab == null) return false; Use mTab for ...
5 years, 5 months ago (2015-06-24 16:30:02 UTC) #4
pedro (no code reviews)
On 2015/06/24 16:30:02, Yusuf wrote: > https://codereview.chromium.org/1202893003/diff/1/chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java > File > chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java > (right): > > ...
5 years, 5 months ago (2015-06-24 22:05:52 UTC) #5
Ian Wen
CustomTabActivity behaves very similarly with DocumentActivity, in terms of overriding createContextualSearch(). yusufo@ ptal. :P https://codereview.chromium.org/1202893003/diff/1/chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java ...
5 years, 5 months ago (2015-06-24 22:18:00 UTC) #6
Yusuf
lgtm
5 years, 5 months ago (2015-06-25 00:14:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202893003/20001
5 years, 5 months ago (2015-06-25 01:20:47 UTC) #10
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-06-25 01:24:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202893003/40001
5 years, 5 months ago (2015-06-25 22:36:05 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-06-25 23:12:13 UTC) #16
commit-bot: I haz the power
5 years, 5 months ago (2015-06-25 23:13:13 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6a91472770fa114eaa33ce9703884a82abd32d13
Cr-Commit-Position: refs/heads/master@{#336292}

Powered by Google App Engine
This is Rietveld 408576698