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

Side by Side Diff: ui/views/view_model.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h 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 unified diff | Download patch
« no previous file with comments | « ui/views/view.h ('k') | ui/views/view_targeter_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_VIEW_MODEL_H_ 5 #ifndef UI_VIEWS_VIEW_MODEL_H_
6 #define UI_VIEWS_VIEW_MODEL_H_ 6 #define UI_VIEWS_VIEW_MODEL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 #include "ui/views/views_export.h" 13 #include "ui/views/views_export.h"
14 14
15 namespace views { 15 namespace views {
16 16
17 class View; 17 class View;
18 class ViewModelUtils; 18 class ViewModelUtils;
19 19
20 // Internal implementation of the templated ViewModelT class. Provides 20 // Internal implementation of the templated ViewModelT class. Provides
21 // non-templated "unsafe" methods for ViewModelT to wrap around. Any methods 21 // non-templated "unsafe" methods for ViewModelT to wrap around. Any methods
22 // that allow insertion of or access to a View* should be protected, and have a 22 // that allow insertion of or access to a View* should be protected, and have a
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 }; 123 };
124 124
125 // ViewModel is a collection of views with no specfic type. If all views have 125 // ViewModel is a collection of views with no specfic type. If all views have
126 // the same type, the use of ViewModelT is preferred so that the views can be 126 // the same type, the use of ViewModelT is preferred so that the views can be
127 // retrieved without potentially unsafe downcasts. 127 // retrieved without potentially unsafe downcasts.
128 typedef ViewModelT<View> ViewModel; 128 typedef ViewModelT<View> ViewModel;
129 129
130 } // namespace views 130 } // namespace views
131 131
132 #endif // UI_VIEWS_VIEW_MODEL_H_ 132 #endif // UI_VIEWS_VIEW_MODEL_H_
OLDNEW
« no previous file with comments | « ui/views/view.h ('k') | ui/views/view_targeter_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698