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

Unified Diff: chrome/browser/ui/panels/test_panel_mouse_watcher.h

Issue 10384192: Prevent title-only panel from fully minimizing when attention is cleared if mouse is in the panel o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment changed Created 8 years, 7 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/panels/test_panel_mouse_watcher.h
diff --git a/chrome/browser/ui/panels/test_panel_mouse_watcher.h b/chrome/browser/ui/panels/test_panel_mouse_watcher.h
index 7607e9a65a377fd9f5fa319eb5eea33d694a56ac..91d55dc7bdc20bcf9b97a11b39fa3a6a1634e380 100644
--- a/chrome/browser/ui/panels/test_panel_mouse_watcher.h
+++ b/chrome/browser/ui/panels/test_panel_mouse_watcher.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "chrome/browser/ui/panels/panel_mouse_watcher.h"
+#include "ui/gfx/point.h"
// Test mouse watcher for simulating mouse movements in tests.
class TestPanelMouseWatcher : public PanelMouseWatcher {
@@ -20,7 +21,11 @@ class TestPanelMouseWatcher : public PanelMouseWatcher {
virtual void Stop() OVERRIDE;
virtual bool IsActive() const OVERRIDE;
+ virtual void NotifyMouseMovement(const gfx::Point& mouse_position) OVERRIDE;
+ virtual gfx::Point GetMousePosition() const OVERRIDE;
+
bool started_;
+ gfx::Point mouse_position_;
DISALLOW_COPY_AND_ASSIGN(TestPanelMouseWatcher);
};
« no previous file with comments | « chrome/browser/ui/panels/panel_mouse_watcher_timer.cc ('k') | chrome/browser/ui/panels/test_panel_mouse_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698