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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.h

Issue 420533002: zoom bubble: Close if anchor is clicked while bubble is showing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: asdf Created 6 years, 5 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
Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.h b/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
index 58d83d5f8489529607534b3a0d10a655ff8b6f4c..8939c5985c0c9f91fc3e74f665f363852b207edd 100644
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
@@ -45,6 +45,9 @@ class ZoomBubbleView : public views::BubbleDelegateView,
// Whether the zoom bubble is currently showing.
static bool IsShowing();
+ // Whether the zoom bubble is currently closing.
+ static bool IsClosing();
+
// Returns the zoom bubble if the zoom bubble is showing. Returns NULL
// otherwise.
static const ZoomBubbleView* GetZoomBubbleForTest();

Powered by Google App Engine
This is Rietveld 408576698