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

Unified Diff: ash/wm/common/wm_snap_to_pixel_layout_manager.h

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ash/wm/common/wm_shell_window_ids.h ('k') | ash/wm/common/wm_snap_to_pixel_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_snap_to_pixel_layout_manager.h
diff --git a/ash/wm/common/wm_snap_to_pixel_layout_manager.h b/ash/wm/common/wm_snap_to_pixel_layout_manager.h
deleted file mode 100644
index b5f865811b79a9889b258d614539519b3d5331fa..0000000000000000000000000000000000000000
--- a/ash/wm/common/wm_snap_to_pixel_layout_manager.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 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 ASH_WM_COMMON_WM_SNAP_TO_PIXEL_LAYOUT_MANAGER_H_
-#define ASH_WM_COMMON_WM_SNAP_TO_PIXEL_LAYOUT_MANAGER_H_
-
-#include "ash/ash_export.h"
-#include "ash/wm/common/wm_layout_manager.h"
-#include "base/macros.h"
-
-namespace ash {
-namespace wm {
-
-// A layout manager that places children's layer at the physical pixel
-// boundaries.
-class ASH_EXPORT WmSnapToPixelLayoutManager : public WmLayoutManager {
- public:
- WmSnapToPixelLayoutManager();
- ~WmSnapToPixelLayoutManager() override;
-
- protected:
- // Overridden from aura::LayoutManager:
- void OnWindowResized() override;
- void OnWindowAddedToLayout(WmWindow* child) override;
- void OnWillRemoveWindowFromLayout(WmWindow* child) override;
- void OnWindowRemovedFromLayout(WmWindow* child) override;
- void OnChildWindowVisibilityChanged(WmWindow* child, bool visibile) override;
- void SetChildBounds(WmWindow* child,
- const gfx::Rect& requested_bounds) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WmSnapToPixelLayoutManager);
-};
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_WM_COMMON_WM_SNAP_TO_PIXEL_LAYOUT_MANAGER_H_
« no previous file with comments | « ash/wm/common/wm_shell_window_ids.h ('k') | ash/wm/common/wm_snap_to_pixel_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698