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

Issue 2799783003: 🔍 Clean up the search widget code (Closed)

Created:
3 years, 8 months ago by gone
Modified:
3 years, 8 months ago
Reviewers:
Yusuf
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

🔍 Clean up the search widget code * It's technically infeasible to assume that the search box can animate to the correct location all the time. Instead, just remove all of this code and keep it simple. * Since we're allowed to add resources now, move most initialization of the SearchActivity layout to XML. * Make the SearchActivity's LocationBarLayout inherit from the LocationBarPhone, instead. That's how it behaves anyway. * Makes the Omnibox full bleed like UX requested. BUG=708844 SCREENSHOTS=https://drive.google.com/corp/drive/folders/0B7c8ZkXVwskDdGF1NVo3ZWptTzQ Review-Url: https://codereview.chromium.org/2799783003 Cr-Commit-Position: refs/heads/master@{#462931} Committed: https://chromium.googlesource.com/chromium/src/+/e63e28f00da6f1670b2a72d8511f70259b294e4c

Patch Set 1 #

Patch Set 2 : Fix more things #

Patch Set 3 : 🔍 Clean up the search widget #

Total comments: 2

Messages

Total messages: 21 (15 generated)
gone
3 years, 8 months ago (2017-04-06 00:52:14 UTC) #2
gone
Hadn't heard from you so I threw more changes in. PTAL.
3 years, 8 months ago (2017-04-07 02:24:41 UTC) #6
Yusuf
lgtm with a nit https://codereview.chromium.org/2799783003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java File chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java (right): https://codereview.chromium.org/2799783003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java#newcode215 chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java:215: private void focusTextBox(boolean clearQuery) { ...
3 years, 8 months ago (2017-04-07 18:08:28 UTC) #15
gone
https://codereview.chromium.org/2799783003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java File chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java (right): https://codereview.chromium.org/2799783003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java#newcode215 chrome/android/java/src/org/chromium/chrome/browser/searchwidget/SearchActivity.java:215: private void focusTextBox(boolean clearQuery) { On 2017/04/07 18:08:28, Yusuf ...
3 years, 8 months ago (2017-04-07 18:15:26 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2799783003/40001
3 years, 8 months ago (2017-04-07 18:16:13 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 18:26:00 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e63e28f00da6f1670b2a72d8511f...

Powered by Google App Engine
This is Rietveld 408576698