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

Side by Side Diff: mojo/services/public/cpp/view_manager/lib/view_private.h

Issue 658923003: Remove dependency on ui from view_manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #include "mojo/services/public/cpp/view_manager/view.h" 10 #include "mojo/services/public/cpp/view_manager/view.h"
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 void LocalAddChild(View* child) { 42 void LocalAddChild(View* child) {
43 view_->LocalAddChild(child); 43 view_->LocalAddChild(child);
44 } 44 }
45 void LocalRemoveChild(View* child) { 45 void LocalRemoveChild(View* child) {
46 view_->LocalRemoveChild(child); 46 view_->LocalRemoveChild(child);
47 } 47 }
48 void LocalReorder(View* relative, OrderDirection direction) { 48 void LocalReorder(View* relative, OrderDirection direction) {
49 view_->LocalReorder(relative, direction); 49 view_->LocalReorder(relative, direction);
50 } 50 }
51 void LocalSetBounds(const gfx::Rect& old_bounds, 51 void LocalSetBounds(const Rect& old_bounds,
52 const gfx::Rect& new_bounds) { 52 const Rect& new_bounds) {
53 view_->LocalSetBounds(old_bounds, new_bounds); 53 view_->LocalSetBounds(old_bounds, new_bounds);
54 } 54 }
55 void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); } 55 void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); }
56 56
57 private: 57 private:
58 View* view_; 58 View* view_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ViewPrivate); 60 DISALLOW_COPY_AND_ASSIGN(ViewPrivate);
61 }; 61 };
62 62
63 } // namespace mojo 63 } // namespace mojo
64 64
65 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_ 65 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698