| OLD | NEW |
| 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_H_ | 5 #ifndef UI_VIEWS_VIEW_H_ |
| 6 #define UI_VIEWS_VIEW_H_ | 6 #define UI_VIEWS_VIEW_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 // function makes the decision explicit. | 1252 // function makes the decision explicit. |
| 1253 std::string DoPrintViewGraph(bool first, View* view_with_children); | 1253 std::string DoPrintViewGraph(bool first, View* view_with_children); |
| 1254 #endif | 1254 #endif |
| 1255 | 1255 |
| 1256 private: | 1256 private: |
| 1257 friend class internal::PreEventDispatchHandler; | 1257 friend class internal::PreEventDispatchHandler; |
| 1258 friend class internal::PostEventDispatchHandler; | 1258 friend class internal::PostEventDispatchHandler; |
| 1259 friend class internal::RootView; | 1259 friend class internal::RootView; |
| 1260 friend class internal::ScopedChildrenLock; | 1260 friend class internal::ScopedChildrenLock; |
| 1261 friend class FocusManager; | 1261 friend class FocusManager; |
| 1262 #if !defined(PLATFORM_HAS_NATIVE_VIEW_ACCESSIBILITY_IMPL) |
| 1263 friend class NativeViewAccessibility; |
| 1264 #endif |
| 1262 friend class ViewLayerTest; | 1265 friend class ViewLayerTest; |
| 1263 friend class Widget; | 1266 friend class Widget; |
| 1264 | 1267 |
| 1265 // Painting ----------------------------------------------------------------- | 1268 // Painting ----------------------------------------------------------------- |
| 1266 | 1269 |
| 1267 enum SchedulePaintType { | 1270 enum SchedulePaintType { |
| 1268 // Indicates the size is the same (only the origin changed). | 1271 // Indicates the size is the same (only the origin changed). |
| 1269 SCHEDULE_PAINT_SIZE_SAME, | 1272 SCHEDULE_PAINT_SIZE_SAME, |
| 1270 | 1273 |
| 1271 // Indicates the size changed (and possibly the origin). | 1274 // Indicates the size changed (and possibly the origin). |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 // Observers ------------------------------------------------------------- | 1625 // Observers ------------------------------------------------------------- |
| 1623 | 1626 |
| 1624 base::ObserverList<ViewObserver> observers_; | 1627 base::ObserverList<ViewObserver> observers_; |
| 1625 | 1628 |
| 1626 DISALLOW_COPY_AND_ASSIGN(View); | 1629 DISALLOW_COPY_AND_ASSIGN(View); |
| 1627 }; | 1630 }; |
| 1628 | 1631 |
| 1629 } // namespace views | 1632 } // namespace views |
| 1630 | 1633 |
| 1631 #endif // UI_VIEWS_VIEW_H_ | 1634 #endif // UI_VIEWS_VIEW_H_ |
| OLD | NEW |