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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h

Issue 580403004: Passworde bubble should close without fading out. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
index 25270b3dd286b3856025a8b6897275d0276a584f..a33c2b0148bc7046cfd5743c0de020ffa3e61ca1 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
@@ -49,10 +49,6 @@ class ManagePasswordsBubbleView : public ManagePasswordsBubble,
return initially_focused_view_;
}
- bool IsFadingAway() const {
- return fadeout_observer_;
- }
-
private:
class BlacklistedView;
class ConfirmNeverView;
@@ -93,24 +89,10 @@ class ManagePasswordsBubbleView : public ManagePasswordsBubble,
// views::BubbleDelegateView:
virtual void Init() OVERRIDE;
virtual void WindowClosing() OVERRIDE;
- virtual void OnWidgetActivationChanged(views::Widget* widget,
- bool active) OVERRIDE;
// views::WidgetDelegate
virtual views::View* GetInitiallyFocusedView() OVERRIDE;
- // views::View methods.
- virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
-
- // Starts animating the bubble.
- void StartFadingOut();
-
- // Cancel fading out if it's active.
- void CancelFadingOut();
-
- // Called when the bubble completely faded out.
- void OnBubbleDisappeared();
-
void set_initially_focused_view(views::View* view) {
DCHECK(!initially_focused_view_);
initially_focused_view_ = view;
@@ -134,10 +116,6 @@ class ManagePasswordsBubbleView : public ManagePasswordsBubble,
class WebContentMouseHandler;
scoped_ptr<WebContentMouseHandler> mouse_handler_;
- // A helper to get a notification when the bubble fades out completely.
- class FadeOutObserver;
- scoped_ptr<FadeOutObserver> fadeout_observer_;
-
DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698