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

Issue 2905523004: Making answer card to behave like other results. (Closed)

Created:
3 years, 7 months ago by vadimt
Modified:
3 years, 6 months ago
Reviewers:
xiyuan, jam, sky
CC:
chromium-reviews, tfarina, Matt Giuca
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Making answer card to behave like other results. Now it lives in a search result container, which can be selected, highlighted, navigated with keyboard etc. Opening the result (i.e. what happens upon clicking on it) is not yet implemented. Unit test for the new result container isn't yet implemented since both result opening and accessibility behavior are not yet implemented. Bug=712331 Review-Url: https://codereview.chromium.org/2905523004 Cr-Original-Commit-Position: refs/heads/master@{#475782} Committed: https://chromium.googlesource.com/chromium/src/+/2420a92712ee82be175bea6750774bec8006c5ce Review-Url: https://codereview.chromium.org/2905523004 Cr-Commit-Position: refs/heads/master@{#476039} Committed: https://chromium.googlesource.com/chromium/src/+/4323686ff309aa553948ed0f5a9647b1172c64e2

Patch Set 1 #

Total comments: 22

Patch Set 2 : Comments #

Patch Set 3 : More notes. #

Patch Set 4 : More comments. #

Patch Set 5 : Even more comments #

Patch Set 6 : Rebasing #

Patch Set 7 : Fixing build breakage. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -184 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/chromeos/login/ui/web_contents_set_background_color.h View 1 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc View 1 1 chunk +0 lines, -57 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download
M ui/app_list/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 2 3 4 5 4 chunks +1 line, -10 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 1 2 3 4 5 5 chunks +9 lines, -54 lines 0 comments Download
A ui/app_list/views/search_result_answer_card_view.h View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A ui/app_list/views/search_result_answer_card_view.cc View 1 2 3 4 5 6 1 chunk +145 lines, -0 lines 0 comments Download
M ui/app_list/views/search_result_container_view.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/webview/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + ui/views/controls/webview/web_contents_set_background_color.h View 1 2 3 4 3 chunks +9 lines, -7 lines 0 comments Download
A + ui/views/controls/webview/web_contents_set_background_color.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 53 (24 generated)
vadimt
3 years, 7 months ago (2017-05-25 01:09:07 UTC) #4
xiyuan
https://codereview.chromium.org/2905523004/diff/1/chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc File chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc (right): https://codereview.chromium.org/2905523004/diff/1/chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc#newcode171 chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc:171: render_view_host_view->SetBackgroundColor(SK_ColorTRANSPARENT); There might be a few edge cases. We ...
3 years, 7 months ago (2017-05-25 16:42:53 UTC) #7
vadimt
https://codereview.chromium.org/2905523004/diff/1/chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc File chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc (right): https://codereview.chromium.org/2905523004/diff/1/chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc#newcode171 chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc:171: render_view_host_view->SetBackgroundColor(SK_ColorTRANSPARENT); On 2017/05/25 16:42:53, xiyuan wrote: > There might ...
3 years, 7 months ago (2017-05-25 20:15:16 UTC) #8
xiyuan
lgtm https://codereview.chromium.org/2905523004/diff/1/ui/app_list/views/search_result_answer_card_view.cc File ui/app_list/views/search_result_answer_card_view.cc (right): https://codereview.chromium.org/2905523004/diff/1/ui/app_list/views/search_result_answer_card_view.cc#newcode88 ui/app_list/views/search_result_answer_card_view.cc:88: model->AddObserver(this); On 2017/05/25 20:15:16, vadimt wrote: > We ...
3 years, 7 months ago (2017-05-25 20:52:04 UTC) #11
vadimt
https://codereview.chromium.org/2905523004/diff/1/ui/app_list/views/search_result_answer_card_view.cc File ui/app_list/views/search_result_answer_card_view.cc (right): https://codereview.chromium.org/2905523004/diff/1/ui/app_list/views/search_result_answer_card_view.cc#newcode112 ui/app_list/views/search_result_answer_card_view.cc:112: SetLayoutManager(have_result ? new views::FillLayout : nullptr); Actually, there is ...
3 years, 7 months ago (2017-05-25 22:59:04 UTC) #14
xiyuan
https://codereview.chromium.org/2905523004/diff/1/ui/app_list/views/search_result_answer_card_view.cc File ui/app_list/views/search_result_answer_card_view.cc (right): https://codereview.chromium.org/2905523004/diff/1/ui/app_list/views/search_result_answer_card_view.cc#newcode112 ui/app_list/views/search_result_answer_card_view.cc:112: SetLayoutManager(have_result ? new views::FillLayout : nullptr); On 2017/05/25 22:59:04, ...
3 years, 7 months ago (2017-05-25 23:01:21 UTC) #15
vadimt
sky@ please review content/public/browser/* This is moving some useful files from cros to a more ...
3 years, 7 months ago (2017-05-25 23:01:34 UTC) #17
sky
I'm not an owner of content/public/browser. sky->jam
3 years, 7 months ago (2017-05-25 23:56:08 UTC) #19
jam
On 2017/05/25 23:01:34, vadimt wrote: > sky@ please review content/public/browser/* > > This is moving ...
3 years, 7 months ago (2017-05-26 14:45:12 UTC) #20
vadimt
xiyuan@, given jam@'s comment, any suggestions wrt where to to the background-setting helper for web ...
3 years, 7 months ago (2017-05-26 20:25:03 UTC) #21
xiyuan
On 2017/05/26 20:25:03, vadimt wrote: > xiyuan@, given jam@'s comment, any suggestions wrt where to ...
3 years, 7 months ago (2017-05-26 20:41:55 UTC) #22
jam
On 2017/05/26 20:41:55, xiyuan wrote: > On 2017/05/26 20:25:03, vadimt wrote: > > xiyuan@, given ...
3 years, 7 months ago (2017-05-26 22:44:55 UTC) #23
vadimt
Hmmm, if we want to use the fact the WebView inherits from WebContentsObserver, then we ...
3 years, 7 months ago (2017-05-26 23:58:43 UTC) #24
xiyuan
On 2017/05/26 23:58:43, vadimt wrote: > Hmmm, if we want to use the fact the ...
3 years, 6 months ago (2017-05-30 15:51:51 UTC) #25
vadimt
Done.
3 years, 6 months ago (2017-05-30 18:02:50 UTC) #26
vadimt
sky@, web_contents_set_background_color ended up in ui/views/controls/webview/, please review (it's just moving).
3 years, 6 months ago (2017-05-30 18:04:42 UTC) #28
sky
On 2017/05/30 18:04:42, vadimt wrote: > sky@, web_contents_set_background_color ended up in ui/views/controls/webview/, > please review ...
3 years, 6 months ago (2017-05-30 21:35:20 UTC) #29
xiyuan
On 2017/05/30 21:35:20, sky wrote: > On 2017/05/30 18:04:42, vadimt wrote: > > sky@, web_contents_set_background_color ...
3 years, 6 months ago (2017-05-30 22:00:21 UTC) #30
sky
Ok, fair enough, LGTM
3 years, 6 months ago (2017-05-30 23:16:07 UTC) #31
vadimt
Good; many thanks everyone!
3 years, 6 months ago (2017-05-30 23:35:08 UTC) #34
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/2905523004/80001
3 years, 6 months ago (2017-05-30 23:35:52 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/221960) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-05-30 23:39:19 UTC) #37
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/2905523004/100001
3 years, 6 months ago (2017-05-31 02:06:29 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/2420a92712ee82be175bea6750774bec8006c5ce
3 years, 6 months ago (2017-05-31 03:48:41 UTC) #43
tyoshino (SeeGerritForStatus)
This broke a build https://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20x86-generic%20Compile/builds/36279
3 years, 6 months ago (2017-05-31 04:19:46 UTC) #44
tyoshino (SeeGerritForStatus)
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2910173003/ by tyoshino@chromium.org. ...
3 years, 6 months ago (2017-05-31 04:20:36 UTC) #45
findit-for-me
Findit (https://goo.gl/kROfz5) confirmed this CL at revision 475782 as the culprit for failures in the ...
3 years, 6 months ago (2017-05-31 04:33:46 UTC) #46
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/2905523004/120001
3 years, 6 months ago (2017-05-31 19:07:16 UTC) #50
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 21:38:34 UTC) #53
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/4323686ff309aa553948ed0f5a96...

Powered by Google App Engine
This is Rietveld 408576698