| 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 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1609 // Drag and drop ------------------------------------------------------------- | 1609 // Drag and drop ------------------------------------------------------------- |
| 1610 | 1610 |
| 1611 DragController* drag_controller_; | 1611 DragController* drag_controller_; |
| 1612 | 1612 |
| 1613 // Input -------------------------------------------------------------------- | 1613 // Input -------------------------------------------------------------------- |
| 1614 | 1614 |
| 1615 std::unique_ptr<ViewTargeter> targeter_; | 1615 std::unique_ptr<ViewTargeter> targeter_; |
| 1616 | 1616 |
| 1617 // Accessibility ------------------------------------------------------------- | 1617 // Accessibility ------------------------------------------------------------- |
| 1618 | 1618 |
| 1619 // Belongs to this view, but it's reference-counted on some platforms | 1619 // The accessibility element used to represent this View. |
| 1620 // so we can't use a scoped_ptr. It's dereferenced in the destructor. | 1620 std::unique_ptr<NativeViewAccessibility> native_view_accessibility_; |
| 1621 NativeViewAccessibility* native_view_accessibility_; | |
| 1622 | 1621 |
| 1623 // Observers ------------------------------------------------------------- | 1622 // Observers ------------------------------------------------------------- |
| 1624 | 1623 |
| 1625 base::ObserverList<ViewObserver> observers_; | 1624 base::ObserverList<ViewObserver> observers_; |
| 1626 | 1625 |
| 1627 DISALLOW_COPY_AND_ASSIGN(View); | 1626 DISALLOW_COPY_AND_ASSIGN(View); |
| 1628 }; | 1627 }; |
| 1629 | 1628 |
| 1630 } // namespace views | 1629 } // namespace views |
| 1631 | 1630 |
| 1632 #endif // UI_VIEWS_VIEW_H_ | 1631 #endif // UI_VIEWS_VIEW_H_ |
| OLD | NEW |