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

Unified Diff: ash/wm/common/drag_details.cc

Issue 1921353002: Moves handful of files to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shell_ids
Patch Set: merge to trunk Created 4 years, 8 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 | « ash/wm/common/drag_details.h ('k') | ash/wm/common/shelf/wm_shelf_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/drag_details.cc
diff --git a/ash/wm/drag_details.cc b/ash/wm/common/drag_details.cc
similarity index 91%
rename from ash/wm/drag_details.cc
rename to ash/wm/common/drag_details.cc
index 9c293bb4decbf1337a4fd54900b265437a7e16cf..1248b5cbfa9f755cdd1a144afbea1e4b778fa4f1 100644
--- a/ash/wm/drag_details.cc
+++ b/ash/wm/common/drag_details.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/wm/drag_details.h"
+#include "ash/wm/common/drag_details.h"
+#include "ash/wm/common/window_resizer.h"
#include "ash/wm/common/wm_window.h"
-#include "ash/wm/window_resizer.h"
-#include "ui/aura/window.h"
#include "ui/base/hit_test.h"
+#include "ui/compositor/layer.h"
namespace ash {
@@ -64,13 +64,11 @@ DragDetails::DragDetails(wm::WmWindow* window,
window->GetWindowState()->panel_attached()) {
wm::WindowState* window_state = window->GetWindowState();
if ((window_state->IsNormalOrSnapped() || window_state->IsDocked()) &&
- window_state->HasRestoreBounds() &&
- window_component == HTCAPTION) {
+ window_state->HasRestoreBounds() && window_component == HTCAPTION) {
restore_bounds = window_state->GetRestoreBoundsInScreen();
}
}
-DragDetails::~DragDetails() {
-}
+DragDetails::~DragDetails() {}
} // namespace ash
« no previous file with comments | « ash/wm/common/drag_details.h ('k') | ash/wm/common/shelf/wm_shelf_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698