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

Unified Diff: ui/views/layout/fill_layout.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/views/layout/box_layout_unittest.cc ('k') | ui/views/layout/fill_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/layout/fill_layout.h
diff --git a/ui/views/layout/fill_layout.h b/ui/views/layout/fill_layout.h
deleted file mode 100644
index 7496f7cf94464643d87483d96918f979a5618359..0000000000000000000000000000000000000000
--- a/ui/views/layout/fill_layout.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 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 UI_VIEWS_LAYOUT_FILL_LAYOUT_H_
-#define UI_VIEWS_LAYOUT_FILL_LAYOUT_H_
-
-#include "base/compiler_specific.h"
-#include "ui/views/layout/layout_manager.h"
-#include "ui/views/view.h"
-
-namespace views {
-
-///////////////////////////////////////////////////////////////////////////////
-//
-// FillLayout
-// A simple LayoutManager that causes the associated view's one child to be
-// sized to match the bounds of its parent.
-//
-///////////////////////////////////////////////////////////////////////////////
-class VIEWS_EXPORT FillLayout : public LayoutManager {
- public:
- FillLayout();
- virtual ~FillLayout();
-
- // Overridden from LayoutManager:
- virtual void Layout(View* host) override;
- virtual gfx::Size GetPreferredSize(const View* host) const override;
- virtual int GetPreferredHeightForWidth(const View* host,
- int width) const override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FillLayout);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_LAYOUT_FILL_LAYOUT_H_
« no previous file with comments | « ui/views/layout/box_layout_unittest.cc ('k') | ui/views/layout/fill_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698