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

Issue 789653004: bookmarks: Use On*Clicked for naming an event method. (Closed)

Created:
6 years ago by tfarina
Modified:
6 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bookmarks: Use OnImportBookmarks for naming instructions delegate method. Do not use an action when naming an event that will be fired to the delegate. Instead of saying what the delegate should do or will do, just say what event happened. So in this case, say to the delegate that the instructions import link on the Bookmarks Bar was clicked. BUG=None TEST=have zero bookmarks in your Bookmarks Bar, so you can see the link there, click on it to show the import dialog. No regressions should be observed. R=sky@chromium.org Committed: https://crrev.com/c2e7bc233673f8f6df7092ea523bca7d2a6b96ef Cr-Commit-Position: refs/heads/master@{#308291}

Patch Set 1 #

Total comments: 3

Patch Set 2 : OnImportBookmarks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
tfarina
https://codereview.chromium.org/789653004/diff/1/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h File chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h (right): https://codereview.chromium.org/789653004/diff/1/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h#newcode12 chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h:12: virtual void OnImportLinkClicked() = 0; It feels/read better to ...
6 years ago (2014-12-12 00:58:47 UTC) #1
sky
https://codereview.chromium.org/789653004/diff/1/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h File chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h (right): https://codereview.chromium.org/789653004/diff/1/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h#newcode12 chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h:12: virtual void OnImportLinkClicked() = 0; On 2014/12/12 00:58:47, tfarina ...
6 years ago (2014-12-12 15:46:46 UTC) #2
tfarina
https://codereview.chromium.org/789653004/diff/1/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h File chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h (right): https://codereview.chromium.org/789653004/diff/1/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h#newcode12 chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h:12: virtual void OnImportLinkClicked() = 0; On 2014/12/12 15:46:45, sky ...
6 years ago (2014-12-12 21:12:32 UTC) #3
sky
LGTM
6 years ago (2014-12-12 23:58:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/789653004/20001
6 years ago (2014-12-14 01:32:23 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-14 02:16:34 UTC) #7
commit-bot: I haz the power
6 years ago (2014-12-14 02:17:12 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c2e7bc233673f8f6df7092ea523bca7d2a6b96ef
Cr-Commit-Position: refs/heads/master@{#308291}

Powered by Google App Engine
This is Rietveld 408576698