|
|
Chromium Code Reviews|
Created:
3 years, 11 months ago by karandeepb Modified:
3 years, 10 months ago CC:
chromium-reviews, tfarina, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag.
This CL puts the views based Ask Google For Suggestions dialog behind the
secondary-ui-md flag. As a result, the views based version is shown with the
flag secondary-ui-md enabled and the Cocoa version is shown without it.
This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there
doesn't seem to be any existing browser test for the dialog, a browser test
utilizing the DialogBrowserTest framework is also added.
BUG=662128, 654139
TEST=Run out/Default/browser_tests --gtest_filter=BrowserDialogTest.Invoke
--dialog=AskGoogleForSuggestionsDialogTest.InvokeDialog_default --interactive
Review-Url: https://codereview.chromium.org/2650583012
Cr-Commit-Position: refs/heads/master@{#447446}
Committed: https://chromium.googlesource.com/chromium/src/+/80b77aca94a93d7c54cb2b013f02469a6c4cf523
Patch Set 1 #Patch Set 2 : Don't run browsertest on non-Mac platforms. #
Total comments: 4
Patch Set 3 : Rebase. #
Messages
Total messages: 37 (22 generated)
The CQ bit was checked by karandeepb@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Convert Ask Google for suggestions dialog. ========== to ========== MacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag. This CL puts the views based Ask Google For Suggestions dialog behind the secondary-ui-md flag. As a result, the views based version is shown with the flag secondary-ui-md enabled and the Cocoa version is shown without it. This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there doesn't seem to be any existing browser test for the dialog, a browser test utilizing the DialogBrowserTest framework is also added. BUG=662128, 654139 ==========
Description was changed from ========== MacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag. This CL puts the views based Ask Google For Suggestions dialog behind the secondary-ui-md flag. As a result, the views based version is shown with the flag secondary-ui-md enabled and the Cocoa version is shown without it. This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there doesn't seem to be any existing browser test for the dialog, a browser test utilizing the DialogBrowserTest framework is also added. BUG=662128, 654139 ========== to ========== MacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag. This CL puts the views based Ask Google For Suggestions dialog behind the secondary-ui-md flag. As a result, the views based version is shown with the flag secondary-ui-md enabled and the Cocoa version is shown without it. This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there doesn't seem to be any existing browser test for the dialog, a browser test utilizing the DialogBrowserTest framework is also added. BUG=662128, 654139 TEST=Run out/Default/browser_tests --gtest_filter=BrowserDialogTest.Invoke --dialog=AskGoogleForSuggestionsDialogTest.InvokeDialog_default --interactive ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by karandeepb@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
karandeepb@chromium.org changed reviewers: + tapted@chromium.org
PTAL Trent. https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due to http://crbug.com/683808. This seems to be failing on Linux and windows on the trybots. Think this is due to crbug.com/683808? It passes for me locally on Linux though, so I am not sure what's wrong.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
nice! lgtm https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due to http://crbug.com/683808. On 2017/01/25 11:08:28, karandeepb wrote: > This seems to be failing on Linux and windows on the trybots. Think this is due > to crbug.com/683808? It passes for me locally on Linux though, so I am not sure > what's wrong. We can try depending on the fix(es) for crbug.com/683808 in a new CL upload -- i.e. https://codereview.chromium.org/2645253002/ (I'll loop in the part that fixes the dialog testing framework as well, since that seems a relevant thing to include after sky's latest comments)
The CQ bit was checked by karandeepb@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
karandeepb@chromium.org changed reviewers: + msw@chromium.org
PTAL msw@ for -chrome/browser/ui/views/confirm_bubble_views.cc and -chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc review.
nice; lgtm. I hope we can enable the test on other platforms soon.
https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due to http://crbug.com/683808. On 2017/01/27 02:09:50, tapted wrote: > On 2017/01/25 11:08:28, karandeepb wrote: > > This seems to be failing on Linux and windows on the trybots. Think this is > due > > to crbug.com/683808? It passes for me locally on Linux though, so I am not > sure > > what's wrong. > > We can try depending on the fix(es) for crbug.com/683808 in a new CL upload -- > i.e. https://codereview.chromium.org/2645253002/ (I'll loop in the part that > fixes the dialog testing framework as well, since that seems a relevant thing to > include after sky's latest comments) The fix for this has landed in r447216, so it should be safe to remove the MAYBE_ stuff now
https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_g... chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due to http://crbug.com/683808. On 2017/01/31 23:52:39, tapted wrote: > On 2017/01/27 02:09:50, tapted wrote: > > On 2017/01/25 11:08:28, karandeepb wrote: > > > This seems to be failing on Linux and windows on the trybots. Think this is > > due > > > to crbug.com/683808? It passes for me locally on Linux though, so I am not > > sure > > > what's wrong. > > > > We can try depending on the fix(es) for crbug.com/683808 in a new CL upload -- > > i.e. https://codereview.chromium.org/2645253002/ (I'll loop in the part that > > fixes the dialog testing framework as well, since that seems a relevant thing > to > > include after sky's latest comments) > > The fix for this has landed in r447216, so it should be safe to remove the > MAYBE_ stuff now Will submit a patch.
Did not realize that I had not submitted this. Trent, on my Linux workstation, the test still fails. Same for UpdateRecommendedDialogTest.
On 2017/02/01 00:26:44, karandeepb wrote: > Did not realize that I had not submitted this. > Trent, on my Linux workstation, the test still fails. Same for > UpdateRecommendedDialogTest. Are you past r447216? Can you file a bug, or update http://crbug.com/683808, with the output? I'm trying the `UpdateRecommendedDialogTest` on trybots at https://codereview.chromium.org/2663163004
On 2017/02/01 00:32:32, tapted wrote: > On 2017/02/01 00:26:44, karandeepb wrote: > > Did not realize that I had not submitted this. > > Trent, on my Linux workstation, the test still fails. Same for > > UpdateRecommendedDialogTest. > > Are you past r447216? Can you file a bug, or update http://crbug.com/683808, > with the output? I'm trying the `UpdateRecommendedDialogTest` on trybots at > https://codereview.chromium.org/2663163004 Yes. Updated issue 683808, seems the trybots show the same error for https://codereview.chromium.org/2663163004. Will land the test only on Mac for now. Then it can be enabled together with UpdateRecommendedDialogTest.
On 2017/02/01 01:54:27, karandeepb wrote: > On 2017/02/01 00:32:32, tapted wrote: > > On 2017/02/01 00:26:44, karandeepb wrote: > > > Did not realize that I had not submitted this. > > > Trent, on my Linux workstation, the test still fails. Same for > > > UpdateRecommendedDialogTest. > > > > Are you past r447216? Can you file a bug, or update http://crbug.com/683808, > > with the output? I'm trying the `UpdateRecommendedDialogTest` on trybots at > > https://codereview.chromium.org/2663163004 > > Yes. Updated issue 683808, seems the trybots show the same error for > https://codereview.chromium.org/2663163004. Will land the test only on Mac for > now. Then it can be enabled together with UpdateRecommendedDialogTest. sgtm - seems maybe there is a bug with DesktopWindowTreeHostX11::GetAllOpenWindows() :/
The CQ bit was checked by karandeepb@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/02/01 01:56:45, tapted wrote: > On 2017/02/01 01:54:27, karandeepb wrote: > > On 2017/02/01 00:32:32, tapted wrote: > > > On 2017/02/01 00:26:44, karandeepb wrote: > > > > Did not realize that I had not submitted this. > > > > Trent, on my Linux workstation, the test still fails. Same for > > > > UpdateRecommendedDialogTest. > > > > > > Are you past r447216? Can you file a bug, or update http://crbug.com/683808, > > > with the output? I'm trying the `UpdateRecommendedDialogTest` on trybots at > > > https://codereview.chromium.org/2663163004 > > > > Yes. Updated issue 683808, seems the trybots show the same error for > > https://codereview.chromium.org/2663163004. Will land the test only on Mac for > > now. Then it can be enabled together with UpdateRecommendedDialogTest. > > sgtm - seems maybe there is a bug with > DesktopWindowTreeHostX11::GetAllOpenWindows() :/ Oh ok, weirdly I remember it passing on my Linux workstation in Sydney without your patch (it failed on bots though).
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by karandeepb@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tapted@chromium.org, msw@chromium.org Link to the patchset: https://codereview.chromium.org/2650583012/#ps40001 (title: "Rebase.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1485922321359330,
"parent_rev": "58116ee5b2710dd751d968024489b305ae18b038", "commit_rev":
"80b77aca94a93d7c54cb2b013f02469a6c4cf523"}
Message was sent while issue was closed.
Description was changed from ========== MacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag. This CL puts the views based Ask Google For Suggestions dialog behind the secondary-ui-md flag. As a result, the views based version is shown with the flag secondary-ui-md enabled and the Cocoa version is shown without it. This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there doesn't seem to be any existing browser test for the dialog, a browser test utilizing the DialogBrowserTest framework is also added. BUG=662128, 654139 TEST=Run out/Default/browser_tests --gtest_filter=BrowserDialogTest.Invoke --dialog=AskGoogleForSuggestionsDialogTest.InvokeDialog_default --interactive ========== to ========== MacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag. This CL puts the views based Ask Google For Suggestions dialog behind the secondary-ui-md flag. As a result, the views based version is shown with the flag secondary-ui-md enabled and the Cocoa version is shown without it. This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there doesn't seem to be any existing browser test for the dialog, a browser test utilizing the DialogBrowserTest framework is also added. BUG=662128, 654139 TEST=Run out/Default/browser_tests --gtest_filter=BrowserDialogTest.Invoke --dialog=AskGoogleForSuggestionsDialogTest.InvokeDialog_default --interactive Review-Url: https://codereview.chromium.org/2650583012 Cr-Commit-Position: refs/heads/master@{#447446} Committed: https://chromium.googlesource.com/chromium/src/+/80b77aca94a93d7c54cb2b013f02... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/80b77aca94a93d7c54cb2b013f02... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
