summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents_delegate.h
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 01:18:00 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 01:18:00 +0000
commitb8595e9c25fc47e4e0e91683b38f4772b4789f1b (patch)
tree9cc63c58e432b835a3af85ac89d4cd9df0d33aa9 /chrome/browser/tab_contents/tab_contents_delegate.h
parent5da4928116a7168b456415f9af412f93138b6dcb (diff)
downloadchromium_src-b8595e9c25fc47e4e0e91683b38f4772b4789f1b.zip
chromium_src-b8595e9c25fc47e4e0e91683b38f4772b4789f1b.tar.gz
chromium_src-b8595e9c25fc47e4e0e91683b38f4772b4789f1b.tar.bz2
gtk: Hide the status bubble when the mouse nears it.
This isn't as slick as other platforms, in that the bubble just slides down and gets cropped instead of sliding down out of the browser window -- doing the latter will probably require reparenting the bubble into its own window when we want to move it. BUG=18311 TEST=ran "nc -l -p 8080", went to localhost:8080, and made sure that the bubble ran away with both LTR and RTL languages Review URL: http://codereview.chromium.org/392007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31984 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index f5fdfcf..b4d3009 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -94,11 +94,14 @@ class TabContentsDelegate {
// Notification that the starredness of the current URL changed.
virtual void URLStarredChanged(TabContents* source, bool starred) = 0;
- // Notification that the target URL has changed
+ // Notification that the target URL has changed.
virtual void UpdateTargetURL(TabContents* source, const GURL& url) = 0;
- // Notification that there was a mouse event
- virtual void ContentsMouseEvent(TabContents* source, bool motion) { }
+ // Notification that there was a mouse event, along with the absolute
+ // coordinates of the mouse pointer and whether it was a normal motion event
+ // (otherwise, the pointer left the contents area).
+ virtual void ContentsMouseEvent(
+ TabContents* source, const gfx::Point& location, bool motion) { }
// Request the delegate to change the zoom level of the current tab.
virtual void ContentsZoomChange(bool zoom_in) { }