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

Unified Diff: mash/wm/frame/move_loop.cc

Issue 1459653002: Gets mustash frames looking like that of ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test Created 5 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 | « mash/wm/frame/move_loop.h ('k') | mash/wm/frame/move_loop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/frame/move_loop.cc
diff --git a/mash/wm/move_loop.cc b/mash/wm/frame/move_loop.cc
similarity index 98%
rename from mash/wm/move_loop.cc
rename to mash/wm/frame/move_loop.cc
index 6c3ee7df28024e8bf5f1d8b5943fcad5f8785eeb..786ff76cf8501839046bda9bb7fddb8ceb1a8ca8 100644
--- a/mash/wm/move_loop.cc
+++ b/mash/wm/frame/move_loop.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mash/wm/move_loop.h"
+#include "mash/wm/frame/move_loop.h"
#include "base/auto_reset.h"
#include "components/mus/public/cpp/window.h"
@@ -11,6 +11,9 @@
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/rect.h"
+namespace mash {
+namespace wm {
+
namespace {
gfx::Point EventLocationToPoint(const mus::mojom::Event& event) {
@@ -221,3 +224,6 @@ void MoveLoop::OnWindowVisibilityChanged(mus::Window* window) {
DCHECK_EQ(window, target_);
Cancel();
}
+
+} // namespace wm
+} // namespace mash
« no previous file with comments | « mash/wm/frame/move_loop.h ('k') | mash/wm/frame/move_loop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698