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

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

Issue 1414643005: Disable zoom bubble for PDF extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add deps file Created 5 years, 2 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: components/ui/zoom/zoom_test_utils.h
diff --git a/components/ui/zoom/zoom_test_utils.h b/components/ui/zoom/zoom_test_utils.h
deleted file mode 100644
index 8fd85586fd816ef96af011d29b7eb4b75d0316ff..0000000000000000000000000000000000000000
--- a/components/ui/zoom/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_

Powered by Google App Engine
This is Rietveld 408576698