summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.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/browser.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/browser.h')
-rw-r--r--chrome/browser/browser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 243b464..6e65c6a 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -35,6 +35,9 @@ class Profile;
class SkBitmap;
class StatusBubble;
class TabNavigation;
+namespace gfx {
+class Point;
+}
class Browser : public TabStripModelDelegate,
public TabStripModelObserver,
@@ -542,7 +545,8 @@ class Browser : public TabStripModelDelegate,
virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
virtual void URLStarredChanged(TabContents* source, bool starred);
virtual void UpdateTargetURL(TabContents* source, const GURL& url);
- virtual void ContentsMouseEvent(TabContents* source, bool motion);
+ virtual void ContentsMouseEvent(
+ TabContents* source, const gfx::Point& location, bool motion);
virtual void ContentsZoomChange(bool zoom_in);
virtual void TabContentsFocused(TabContents* tab_content);
virtual bool TakeFocus(bool reverse);