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

Side by Side Diff: ui/v2/src/layout.cc

Issue 682713003: Update a bunch of OWNERS files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 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/v2/public/layout.h"
6
7 #include "ui/v2/public/view.h"
8 #include "ui/v2/src/view_private.h"
9
10 namespace v2 {
11
12 ////////////////////////////////////////////////////////////////////////////////
13 // Layout, public:
14
15 Layout::~Layout() {}
16
17 void Layout::SetChildBounds(View* child,
18 const gfx::Rect& requested_bounds) {
19 SetChildBoundsDirect(child, requested_bounds);
20 }
21
22 ////////////////////////////////////////////////////////////////////////////////
23 // Layout, protected:
24
25 void Layout::SetChildBoundsDirect(View* child, const gfx::Rect& bounds) {
26 ViewPrivate(child).set_bounds(bounds);
27 }
28
29 } // namespace v2
OLDNEW
« OWNERS ('K') | « ui/v2/src/event_processor.cc ('k') | ui/v2/src/paint_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698