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

Unified Diff: components/ui/zoom/test/zoom_test_utils.h

Issue 2019423005: Move //components/ui/zoom to top-level under //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « components/ui/zoom/test/DEPS ('k') | components/ui/zoom/test/zoom_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui/zoom/test/zoom_test_utils.h
diff --git a/components/ui/zoom/test/zoom_test_utils.h b/components/ui/zoom/test/zoom_test_utils.h
deleted file mode 100644
index 8fd85586fd816ef96af011d29b7eb4b75d0316ff..0000000000000000000000000000000000000000
--- a/components/ui/zoom/test/zoom_test_utils.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2015 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 COMPONENTS_UI_ZOOM_ZOOM_TEST_UTILS_H_
-#define COMPONENTS_UI_ZOOM_ZOOM_TEST_UTILS_H_
-
-#include "base/macros.h"
-#include "components/ui/zoom/zoom_controller.h"
-#include "components/ui/zoom/zoom_observer.h"
-
-namespace content {
-class MessageLoopRunner;
-}
-
-namespace ui_zoom {
-
-bool operator==(const ZoomController::ZoomChangedEventData& lhs,
- const ZoomController::ZoomChangedEventData& rhs);
-
-class ZoomChangedWatcher : public ui_zoom::ZoomObserver {
- public:
- ZoomChangedWatcher(
- ZoomController* zoom_controller,
- const ZoomController::ZoomChangedEventData& expected_event_data);
- ~ZoomChangedWatcher() override;
-
- void Wait();
-
- void OnZoomChanged(
- const ZoomController::ZoomChangedEventData& event_data) override;
-
- private:
- ZoomController* zoom_controller_;
- ZoomController::ZoomChangedEventData expected_event_data_;
- scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(ZoomChangedWatcher);
-};
-
-} // namespace ui_zoom
-#endif // COMPONENTS_UI_ZOOM_ZOOM_TEST_UTILS_H_
« no previous file with comments | « components/ui/zoom/test/DEPS ('k') | components/ui/zoom/test/zoom_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698