|
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 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=267195
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+500 lines, -96 lines) |
Patch |
 |
M |
chrome/app/chrome_command_ids.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_command_controller.cc
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_commands.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_commands.cc
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_dialogs.h
|
View
|
|
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 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
|
View
|
1
|
2 chunks |
+9 lines, -3 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
|
View
|
1
|
4 chunks |
+18 lines, -26 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc
|
View
|
|
1 chunk |
+128 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 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
|
View
|
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/save_password_refusal_combobox_model.h
|
View
|
1
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/save_password_refusal_combobox_model.cc
|
View
|
1
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|