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

Unified Diff: chrome/browser/ui/views/status_bubble_views.h

Issue 10069043: Makes the status bubble less janky on chromeos. Any time the bounds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add null check Created 8 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/status_bubble_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/status_bubble_views.h
diff --git a/chrome/browser/ui/views/status_bubble_views.h b/chrome/browser/ui/views/status_bubble_views.h
index 2a3905a9e8823ffeefbb526c15b157163d2760f2..a53bd41a79f24882b75bcada3a40e99ad4be5918 100644
--- a/chrome/browser/ui/views/status_bubble_views.h
+++ b/chrome/browser/ui/views/status_bubble_views.h
@@ -110,6 +110,12 @@ class StatusBubbleViews : public StatusBubble {
gfx::Point position_;
gfx::Size size_;
+ // Last location passed to MouseMoved().
+ gfx::Point last_mouse_moved_location_;
+
+ // Whether the view contains the mouse.
+ bool contains_mouse_;
+
// How vertically offset the bubble is from its root position_.
int offset_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/status_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698