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

Unified Diff: components/zoom/test/zoom_test_utils.cc

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/zoom/test/zoom_test_utils.h ('k') | components/zoom/zoom_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/zoom/test/zoom_test_utils.cc
diff --git a/components/ui/zoom/test/zoom_test_utils.cc b/components/zoom/test/zoom_test_utils.cc
similarity index 89%
rename from components/ui/zoom/test/zoom_test_utils.cc
rename to components/zoom/test/zoom_test_utils.cc
index 94e8abdc99c6a48e0bfb099768bd900591ae5cd5..5e7f504f3603eebb52abdb6e67728358fb985616 100644
--- a/components/ui/zoom/test/zoom_test_utils.cc
+++ b/components/zoom/test/zoom_test_utils.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/ui/zoom/test/zoom_test_utils.h"
+#include "components/zoom/test/zoom_test_utils.h"
#include "content/public/test/test_utils.h"
-namespace ui_zoom {
+namespace zoom {
bool operator==(const ZoomController::ZoomChangedEventData& lhs,
const ZoomController::ZoomChangedEventData& rhs) {
@@ -23,8 +23,8 @@ ZoomChangedWatcher::ZoomChangedWatcher(
: zoom_controller_(zoom_controller),
expected_event_data_(expected_event_data),
message_loop_runner_(new content::MessageLoopRunner) {
- zoom_controller_->AddObserver(this);
- }
+ zoom_controller_->AddObserver(this);
+}
ZoomChangedWatcher::~ZoomChangedWatcher() {
zoom_controller_->RemoveObserver(this);
@@ -40,4 +40,4 @@ void ZoomChangedWatcher::OnZoomChanged(
message_loop_runner_->Quit();
}
-} // namespace ui_zoom
+} // namespace zoom
« no previous file with comments | « components/zoom/test/zoom_test_utils.h ('k') | components/zoom/zoom_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698