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

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

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 4 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
deleted file mode 100644
index 64d4030088755d1b164d5a463e8b5a4c53bfb0fb..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/panels/test_panel_mouse_watcher.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 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_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/panels/panel_mouse_watcher.h"
-#include "ui/gfx/geometry/point.h"
-
-// Test mouse watcher for simulating mouse movements in tests.
-class TestPanelMouseWatcher : public PanelMouseWatcher {
- public:
- TestPanelMouseWatcher();
- ~TestPanelMouseWatcher() override;
-
- private:
- void Start() override;
- void Stop() override;
- bool IsActive() const override;
-
- void NotifyMouseMovement(const gfx::Point& mouse_position) override;
- gfx::Point GetMousePosition() const override;
-
- bool started_;
- gfx::Point mouse_position_;
- DISALLOW_COPY_AND_ASSIGN(TestPanelMouseWatcher);
-};
-
-#endif // CHROME_BROWSER_UI_PANELS_TEST_PANEL_MOUSE_WATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698