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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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/common/wm/wm_screen_util.cc ('k') | ash/common/wm/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/common/wm/wm_snap_to_pixel_layout_manager.h
diff --git a/ash/common/wm/wm_snap_to_pixel_layout_manager.h b/ash/common/wm/wm_snap_to_pixel_layout_manager.h
deleted file mode 100644
index 7cf38ca4b950c6c9f0b1cafe35a321f0a4ef1956..0000000000000000000000000000000000000000
--- a/ash/common/wm/wm_snap_to_pixel_layout_manager.h
+++ /dev/null
@@ -1,43 +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_COMMON_WM_WM_SNAP_TO_PIXEL_LAYOUT_MANAGER_H_
-#define ASH_COMMON_WM_WM_SNAP_TO_PIXEL_LAYOUT_MANAGER_H_
-
-#include "ash/ash_export.h"
-#include "ash/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;
-
- // Sets WmSnapToPixelLayoutManager as the LayoutManager on the appropriate
- // descendants of |window|.
- static void InstallOnContainers(WmWindow* window);
-
- 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_COMMON_WM_WM_SNAP_TO_PIXEL_LAYOUT_MANAGER_H_
« no previous file with comments | « ash/common/wm/wm_screen_util.cc ('k') | ash/common/wm/wm_snap_to_pixel_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698