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

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

Issue 8744005: Refactor PanelManager to create PanelStrip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address nits Created 9 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
« no previous file with comments | « chrome/browser/ui/panels/panel_strip.cc ('k') | chrome/browser/ui/panels/test_panel_mouse_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..7607e9a65a377fd9f5fa319eb5eea33d694a56ac
--- /dev/null
+++ b/chrome/browser/ui/panels/test_panel_mouse_watcher.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_PANELS_TEST_PANEL_MOUSE_WATCHER_H_
+#define CHROME_BROWSER_UI_PANELS_TEST_PANEL_MOUSE_WATCHER_H_
+#pragma once
+
+#include "base/basictypes.h"
+#include "chrome/browser/ui/panels/panel_mouse_watcher.h"
+
+// Test mouse watcher for simulating mouse movements in tests.
+class TestPanelMouseWatcher : public PanelMouseWatcher {
+ public:
+ TestPanelMouseWatcher();
+ virtual ~TestPanelMouseWatcher();
+
+ private:
+ virtual void Start() OVERRIDE;
+ virtual void Stop() OVERRIDE;
+ virtual bool IsActive() const OVERRIDE;
+
+ bool started_;
+ DISALLOW_COPY_AND_ASSIGN(TestPanelMouseWatcher);
+};
+
+#endif // CHROME_BROWSER_UI_PANELS_TEST_PANEL_MOUSE_WATCHER_H_
« no previous file with comments | « chrome/browser/ui/panels/panel_strip.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