| 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 <algorithm> | 8 #include <algorithm> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/i18n/rtl.h" | 15 #include "base/i18n/rtl.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "ui/accessibility/ax_enums.h" | 19 #include "ui/accessibility/ax_enums.h" |
| 20 #include "ui/base/accelerators/accelerator.h" | 20 #include "ui/base/accelerators/accelerator.h" |
| 21 #include "ui/base/dragdrop/drag_drop_types.h" | 21 #include "ui/base/dragdrop/drag_drop_types.h" |
| 22 #include "ui/base/dragdrop/drop_target_event.h" | 22 #include "ui/base/dragdrop/drop_target_event.h" |
| 23 #include "ui/base/dragdrop/os_exchange_data.h" | 23 #include "ui/base/dragdrop/os_exchange_data.h" |
| 24 #include "ui/base/ui_base_types.h" | 24 #include "ui/base/ui_base_types.h" |
| 25 #include "ui/compositor/layer_delegate.h" | 25 #include "ui/compositor/layer_delegate.h" |
| 26 #include "ui/compositor/layer_owner.h" | 26 #include "ui/compositor/layer_owner.h" |
| 27 #include "ui/events/event.h" | 27 #include "ui/events/event.h" |
| 28 #include "ui/events/event_target.h" | 28 #include "ui/events/event_target.h" |
| 29 #include "ui/gfx/geometry/insets.h" |
| 29 #include "ui/gfx/geometry/r_tree.h" | 30 #include "ui/gfx/geometry/r_tree.h" |
| 30 #include "ui/gfx/insets.h" | 31 #include "ui/gfx/geometry/vector2d.h" |
| 31 #include "ui/gfx/native_widget_types.h" | 32 #include "ui/gfx/native_widget_types.h" |
| 32 #include "ui/gfx/rect.h" | 33 #include "ui/gfx/rect.h" |
| 33 #include "ui/gfx/vector2d.h" | |
| 34 #include "ui/views/cull_set.h" | 34 #include "ui/views/cull_set.h" |
| 35 #include "ui/views/view_targeter.h" | 35 #include "ui/views/view_targeter.h" |
| 36 #include "ui/views/views_export.h" | 36 #include "ui/views/views_export.h" |
| 37 | 37 |
| 38 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
| 39 #include "base/win/scoped_comptr.h" | 39 #include "base/win/scoped_comptr.h" |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 using ui::OSExchangeData; | 42 using ui::OSExchangeData; |
| 43 | 43 |
| (...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1592 // Belongs to this view, but it's reference-counted on some platforms | 1592 // Belongs to this view, but it's reference-counted on some platforms |
| 1593 // so we can't use a scoped_ptr. It's dereferenced in the destructor. | 1593 // so we can't use a scoped_ptr. It's dereferenced in the destructor. |
| 1594 NativeViewAccessibility* native_view_accessibility_; | 1594 NativeViewAccessibility* native_view_accessibility_; |
| 1595 | 1595 |
| 1596 DISALLOW_COPY_AND_ASSIGN(View); | 1596 DISALLOW_COPY_AND_ASSIGN(View); |
| 1597 }; | 1597 }; |
| 1598 | 1598 |
| 1599 } // namespace views | 1599 } // namespace views |
| 1600 | 1600 |
| 1601 #endif // UI_VIEWS_VIEW_H_ | 1601 #endif // UI_VIEWS_VIEW_H_ |
| OLD | NEW |