diff options
author | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-05 13:11:41 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-05 13:11:41 +0000 |
commit | 4bee44346f29b2fc58306b94f0c249e06bf1c8ff (patch) | |
tree | d3dc6b7a3f26a9539d178e57fe08cdd388e45cb9 /chrome/browser/ui/browser_commands.h | |
parent | e1e2da3479979769535e1025bcfe22f973cb2b5e (diff) | |
download | chromium_src-4bee44346f29b2fc58306b94f0c249e06bf1c8ff.zip chromium_src-4bee44346f29b2fc58306b94f0c249e06bf1c8ff.tar.gz chromium_src-4bee44346f29b2fc58306b94f0c249e06bf1c8ff.tar.bz2 |
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
Review URL: https://codereview.chromium.org/264713010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_commands.h')
-rw-r--r-- | chrome/browser/ui/browser_commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h index 1e6fe26..fe63b0e 100644 --- a/chrome/browser/ui/browser_commands.h +++ b/chrome/browser/ui/browser_commands.h @@ -96,6 +96,7 @@ bool CanBookmarkCurrentPage(const Browser* browser); void BookmarkAllTabs(Browser* browser); bool CanBookmarkAllTabs(const Browser* browser); void Translate(Browser* browser); +void ManagePasswordsForPage(Browser* browser); void TogglePagePinnedToStartScreen(Browser* browser); void SavePage(Browser* browser); bool CanSavePage(const Browser* browser); |