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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc

Issue 230463002: Password bubble: Remove IconView from BubbleView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
index e0d433c0b882d3f4bc6cb9bede7a60b43b875ffb..aa99be4b8b9ae00f395a1a058e661f03bbad2e92 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
@@ -48,7 +48,6 @@ void ManagePasswordsIconView::ShowBubbleIfNeeded(
!ManagePasswordsBubbleView::IsShowing()) {
ManagePasswordsBubbleView::ShowBubble(
location_bar_delegate_->GetWebContents(),
- this,
ManagePasswordsBubbleView::AUTOMATIC);
manage_passwords_bubble_ui_controller->OnBubbleShown();
}
@@ -72,7 +71,6 @@ void ManagePasswordsIconView::OnGestureEvent(ui::GestureEvent* event) {
if (event->type() == ui::ET_GESTURE_TAP) {
ManagePasswordsBubbleView::ShowBubble(
location_bar_delegate_->GetWebContents(),
- this,
ManagePasswordsBubbleView::USER_ACTION);
event->SetHandled();
}
@@ -87,7 +85,6 @@ void ManagePasswordsIconView::OnMouseReleased(const ui::MouseEvent& event) {
if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) {
ManagePasswordsBubbleView::ShowBubble(
location_bar_delegate_->GetWebContents(),
- this,
ManagePasswordsBubbleView::USER_ACTION);
}
}
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698