|
|
DescriptionClear the text cache when the tooltip text is updated.
BUG=689863
TEST=BookmarkBarViewTest.UpdateTooltipText
Review-Url: https://codereview.chromium.org/2687893002
Cr-Commit-Position: refs/heads/master@{#451591}
Committed: https://chromium.googlesource.com/chromium/src/+/3dc0899d326b4d59ef71b6a49a7a786ab28a3125
Patch Set 1 : . #
Total comments: 4
Patch Set 2 : Clear the text cache when the tooltip text is updated. #Patch Set 3 : Clear the text cache when the tooltip text is updated. #Patch Set 4 : desktop aura #
Total comments: 2
Patch Set 5 : updated test #
Total comments: 1
Messages
Total messages: 39 (23 generated)
Patchset #1 (id:1) has been deleted
Description was changed from ========== Tooltip BUG= ========== to ========== Clear the text cache when the tooltip text is updated. BUG=689863 TEST=BookmarkBarViewTest.UpdateTooltipText ==========
oshima@chromium.org changed reviewers: + sky@chromium.org
https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:282: LOG(ERROR) << "New Tooltip:" << tooltip_text_; Remove this. https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... File chrome/browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc (right): https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... chrome/browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc:20: IN_PROC_BROWSER_TEST_F(BookmarkBarViewTest, UpdateTooltipText) { Are you sure you need a browsertest for this? I'm wondering if you can use a unit test.
Patchset #4 (id:80001) has been deleted
Patchset #3 (id:60001) has been deleted
https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:282: LOG(ERROR) << "New Tooltip:" << tooltip_text_; On 2017/02/09 20:30:40, sky wrote: > Remove this. Done. https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... File chrome/browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc (right): https://codereview.chromium.org/2687893002/diff/20001/chrome/browser/ui/views... chrome/browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc:20: IN_PROC_BROWSER_TEST_F(BookmarkBarViewTest, UpdateTooltipText) { On 2017/02/09 20:30:40, sky wrote: > Are you sure you need a browsertest for this? I'm wondering if you can use a > unit test. I moved to unit test. I had to create a fake widget because a browser in BrowserWithTestWindowTest has no views in it. Let me know if there is a better way.
LGTM
The CQ bit was checked by oshima@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: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
https://codereview.chromium.org/2687893002/diff/120001/chrome/browser/ui/view... File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/2687893002/diff/120001/chrome/browser/ui/view... chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:373: views::ScopedViewsTestHelper helper(std::move(views_delegate_for_setup)); Looks like I need to set up these for desktop aura (win/linux). Let me know if I should put this in SetUp, or there is a better way.
The CQ bit was checked by oshima@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...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
https://codereview.chromium.org/2687893002/diff/120001/chrome/browser/ui/view... File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/2687893002/diff/120001/chrome/browser/ui/view... chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:368: TEST_F(BookmarkBarViewTest, UpdateTooltipText) { Would it make more sense to have this test extend ViewsTestBase?
Patchset #5 (id:140001) has been deleted
The CQ bit was checked by oshima@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...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
https://codereview.chromium.org/2687893002/diff/160001/chrome/browser/ui/view... File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/2687893002/diff/160001/chrome/browser/ui/view... chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:370: params, &widget, nullptr); looks like this is how views unit test should do for widget related tests. PTAL.
LGTM
The CQ bit was checked by oshima@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_TIMED_OUT, no build URL)
The CQ bit was checked by oshima@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: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by oshima@chromium.org
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": 160001, "attempt_start_ts": 1487583094422510, "parent_rev": "f6cba6deea485d3647920ddd11fd4894b1a1a506", "commit_rev": "3dc0899d326b4d59ef71b6a49a7a786ab28a3125"}
Message was sent while issue was closed.
Description was changed from ========== Clear the text cache when the tooltip text is updated. BUG=689863 TEST=BookmarkBarViewTest.UpdateTooltipText ========== to ========== Clear the text cache when the tooltip text is updated. BUG=689863 TEST=BookmarkBarViewTest.UpdateTooltipText Review-Url: https://codereview.chromium.org/2687893002 Cr-Commit-Position: refs/heads/master@{#451591} Committed: https://chromium.googlesource.com/chromium/src/+/3dc0899d326b4d59ef71b6a49a7a... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:160001) as https://chromium.googlesource.com/chromium/src/+/3dc0899d326b4d59ef71b6a49a7a... |