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

Unified Diff: chrome/browser/status_bubble.h

Issue 392007: gtk: Hide the status bubble when the mouse nears it. (Closed)
Patch Set: merge again Created 11 years, 1 month 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/status_bubble.h
diff --git a/chrome/browser/status_bubble.h b/chrome/browser/status_bubble.h
index 9203b80a904f91d4c02bbc2e05e474faa0d79c1b..81379d0a41009a2362416cfc6c18bbfd50673768 100644
--- a/chrome/browser/status_bubble.h
+++ b/chrome/browser/status_bubble.h
@@ -8,6 +8,9 @@
#include <string>
class GURL;
+namespace gfx {
+class Point;
+}
////////////////////////////////////////////////////////////////////////////////
// StatusBubble interface
@@ -37,8 +40,10 @@ class StatusBubble {
// 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. This may be windows specific pain due to the way messages are
- // processed for child HWNDs.
- virtual void MouseMoved() = 0;
+ // processed for child HWNDs. |position| is the absolute position of the
+ // pointer, and |left_content| is true if the mouse just left the content
+ // area.
+ virtual void MouseMoved(const gfx::Point& position, bool left_content) = 0;
// Called when the download shelf becomes visible or invisible.
// This is used by to ensure that the status bubble does not obscure
« no previous file with comments | « chrome/browser/gtk/tab_contents_container_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698