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

Unified Diff: chrome/browser/ui/status_bubble.h

Issue 2175833002: AdjustBoundsToEnsureMinimumWindowVisibility may cause unwanted shift if window dimension is small (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/status_bubble.h
diff --git a/chrome/browser/ui/status_bubble.h b/chrome/browser/ui/status_bubble.h
index 1d52275aa6f062309c697eb0423e9c1e57b1454a..546db3caa8eaf23c0608ea2a2f6d0ee581afc0c3 100644
--- a/chrome/browser/ui/status_bubble.h
+++ b/chrome/browser/ui/status_bubble.h
@@ -41,6 +41,9 @@ class StatusBubble {
// Skip the fade and instant-hide the bubble.
virtual void Hide() = 0;
+ // Calculate and set new position for status bubble.
+ virtual void Reposition() = 0;
+
// Called when the user's mouse has moved over web content. This is used to
// determine when the status area should move out of the way of the user's
// mouse. |position| is the absolute position of the pointer, and

Powered by Google App Engine
This is Rietveld 408576698