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

Side by Side Diff: ui/views/test/test_layout_manager.cc

Issue 2439093002: Reland of "Added common layout framework for system menu rows." (Closed)
Patch Set: Addressed review comments. Created 4 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 unified diff | Download patch
« no previous file with comments | « ui/views/test/test_layout_manager.h ('k') | ui/views/test/test_views.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/test/test_layout_manager.h"
6
7 namespace views {
8 namespace test {
9
10 TestLayoutManager::TestLayoutManager() {}
11
12 TestLayoutManager::~TestLayoutManager() {}
13
14 void TestLayoutManager::Layout(View* host) {}
15
16 gfx::Size TestLayoutManager::GetPreferredSize(const View* host) const {
17 return preferred_size_;
18 }
19
20 int TestLayoutManager::GetPreferredHeightForWidth(const View* host,
21 int width) const {
22 return preferred_height_for_width_;
23 }
24
25 } // namespace test
26 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/test/test_layout_manager.h ('k') | ui/views/test/test_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698