|
Password bubble: refactor ManagePasswordsIconView.
As another step towards a platform-agnostic test suite for the password
management UI, this CL refactors ManagePasswordsIconView in a few ways:
1. It introduces a new 'ManagePasswordsIcon' abstract base class
to provide a platform-agnostic interface to the Omnibox icon.
2. The ManagePasswordsBubbleUIController is now responsible for
determining the Omnibox's icon's state, and also responsible
for triggering automatic display of the bubble UI. The actual
functionality is still sitting on the icon for the moment, but
will be moved out to a platform-agnostic layer in a future CL.
3. Most importantly, some basic unit tests verify the functionality
added above.
BUG= 356678
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266520
Total comments: 4
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+401 lines, -104 lines) |
Patch |
 |
M |
chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.h
|
View
|
1
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc
|
View
|
1
|
3 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+139 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/passwords/manage_passwords_icon.h
|
View
|
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/passwords/manage_passwords_icon.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/passwords/manage_passwords_icon_mock.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/passwords/manage_passwords_icon_mock.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/location_bar_view.cc
|
View
|
1
2
3
4
|
4 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_icon_view.h
|
View
|
|
2 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
|
View
|
1
2
3
4
|
2 chunks |
+31 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/password_manager.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/password_manager/core/browser/mock_password_manager_driver.h
|
View
|
1
2
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/password_manager/core/browser/mock_password_manager_driver.cc
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/password_manager/core/browser/password_form_manager_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -19 lines |
0 comments
|
Download
|
 |
M |
components/password_manager/core/browser/password_manager_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -16 lines |
0 comments
|
Download
|
Total messages: 26 (0 generated)
|