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

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

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (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"
11 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
12 #include "ui/gfx/geometry/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
(...skipping 101 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
« ui/views/metrics_aura.cc ('K') | « ui/views/view.cc ('k') | ui/views/view_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698