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

Issue 264713010: Password bubble: ManagePasswordsIconView is now a BubbleIconView. (Closed)

Created:
6 years, 7 months ago by Mike West
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Password bubble: ManagePasswordsIconView is now a BubbleIconView. This CL introduces a new browser command to open the Manage Passwords bubble, and converts the ManagePasswordsIconView class into a subclass of BubbleIconView, which uses the new command to control the bubble's state. This allows us to more easily test the view and the UI controller, as each object's job is now more clearly defined (and the view is now doing a good deal less work), and to independently verify that the command is doing the right thing. After this CL, we'll (finally!) have something approaching reasonable test coverage for the core of the views code. ---------------------------------------------------------------------------- This is a re-land of r267195, which was reverted due to Windows errors. That was a reland of r266859, which was reverted due to LSAN errors. The original review is https://codereview.chromium.org/246393004/. ---------------------------------------------------------------------------- BUG=365678 TBR=vabr@chromium.org,pkasting@chromium.org,cpu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268159

Patch Set 1 #

Patch Set 2 : Fingers crossed. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -97 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_icon.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_icon.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_icon_mock.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_icon_mock.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 2 4 chunks +18 lines, -27 lines 0 comments Download
A chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc View 1 1 chunk +117 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_icon_view.h View 1 chunk +29 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc View 3 chunks +32 lines, -46 lines 0 comments Download
A chrome/browser/ui/views/passwords/manage_passwords_icon_view_browsertest.cc View 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/passwords/manage_passwords_view_test.h View 1 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/passwords/manage_passwords_view_test.cc View 1 1 chunk +92 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/passwords/save_password_refusal_combobox_model.h View 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/passwords/save_password_refusal_combobox_model.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Mike West
Hi Vaclav, would you mind sanity-checking the diff between patchset 1 and 2? The second ...
6 years, 7 months ago (2014-05-02 09:59:22 UTC) #1
vabr (Chromium)
Hi Mike, I checked the diff of patch set 2 against 1, and found nothing ...
6 years, 7 months ago (2014-05-02 10:12:58 UTC) #2
Mike West
On 2014/05/02 10:12:58, vabr (Chromium) wrote: > Hi Mike, > > I checked the diff ...
6 years, 7 months ago (2014-05-02 10:28:46 UTC) #3
Peter Kasting
You added cpu and me as reviewers, which I assume was intentional since we weren't ...
6 years, 7 months ago (2014-05-02 19:01:37 UTC) #4
Mike West
On 2014/05/02 19:01:37, Peter Kasting wrote: > You added cpu and me as reviewers, which ...
6 years, 7 months ago (2014-05-03 14:32:26 UTC) #5
Mike West
And it sat in the try-bot queue long enough that it now doesn't cleanly apply. ...
6 years, 7 months ago (2014-05-03 14:34:01 UTC) #6
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 7 months ago (2014-05-05 06:18:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/264713010/30001
6 years, 7 months ago (2014-05-05 06:19:48 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 13:11:45 UTC) #9
Message was sent while issue was closed.
Change committed as 268159

Powered by Google App Engine
This is Rietveld 408576698