|
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.
BUG= 365678
TBR=cpu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266859
Total comments: 2
Total comments: 3
Total comments: 44
Total comments: 7
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+433 lines, -66 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
|
1
2
3
4
|
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
2
3
4
5
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_dialogs.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/passwords/manage_passwords_icon.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/passwords/manage_passwords_icon.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/passwords/manage_passwords_icon_mock.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/passwords/manage_passwords_icon_mock.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/location_bar_view.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+31 lines, -1 line |
1 comment
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+128 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_icon_view.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+29 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
|
View
|
1
2
3
4
|
3 chunks |
+32 lines, -46 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/manage_passwords_icon_view_browsertest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/manage_passwords_view_test.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/passwords/manage_passwords_view_test.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 38 (0 generated)
|