| 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> |
| 11 #include <map> | 11 #include <map> |
| 12 #include <memory> | 12 #include <memory> |
| 13 #include <set> | 13 #include <set> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
| 18 #include "base/i18n/rtl.h" | 18 #include "base/i18n/rtl.h" |
| 19 #include "base/logging.h" | 19 #include "base/logging.h" |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
| 22 #include "ui/accessibility/ax_enums.h" | |
| 23 #include "ui/base/accelerators/accelerator.h" | 22 #include "ui/base/accelerators/accelerator.h" |
| 24 #include "ui/base/dragdrop/drag_drop_types.h" | 23 #include "ui/base/dragdrop/drag_drop_types.h" |
| 25 #include "ui/base/dragdrop/drop_target_event.h" | 24 #include "ui/base/dragdrop/drop_target_event.h" |
| 26 #include "ui/base/dragdrop/os_exchange_data.h" | 25 #include "ui/base/dragdrop/os_exchange_data.h" |
| 27 #include "ui/base/ui_base_types.h" | 26 #include "ui/base/ui_base_types.h" |
| 28 #include "ui/compositor/layer_delegate.h" | 27 #include "ui/compositor/layer_delegate.h" |
| 29 #include "ui/compositor/layer_owner.h" | 28 #include "ui/compositor/layer_owner.h" |
| 30 #include "ui/compositor/paint_cache.h" | 29 #include "ui/compositor/paint_cache.h" |
| 31 #include "ui/events/event.h" | 30 #include "ui/events/event.h" |
| 32 #include "ui/events/event_target.h" | 31 #include "ui/events/event_target.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 46 using ui::OSExchangeData; | 45 using ui::OSExchangeData; |
| 47 | 46 |
| 48 namespace gfx { | 47 namespace gfx { |
| 49 class Canvas; | 48 class Canvas; |
| 50 class Insets; | 49 class Insets; |
| 51 class Path; | 50 class Path; |
| 52 class Transform; | 51 class Transform; |
| 53 } | 52 } |
| 54 | 53 |
| 55 namespace ui { | 54 namespace ui { |
| 55 enum AXEvent : int; |
| 56 struct AXViewState; | 56 struct AXViewState; |
| 57 class Compositor; | 57 class Compositor; |
| 58 class InputMethod; | 58 class InputMethod; |
| 59 class Layer; | 59 class Layer; |
| 60 class NativeTheme; | 60 class NativeTheme; |
| 61 class PaintContext; | 61 class PaintContext; |
| 62 class TextInputClient; | 62 class TextInputClient; |
| 63 class Texture; | 63 class Texture; |
| 64 class ThemeProvider; | 64 class ThemeProvider; |
| 65 } | 65 } |
| (...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1569 // Belongs to this view, but it's reference-counted on some platforms | 1569 // Belongs to this view, but it's reference-counted on some platforms |
| 1570 // so we can't use a scoped_ptr. It's dereferenced in the destructor. | 1570 // so we can't use a scoped_ptr. It's dereferenced in the destructor. |
| 1571 NativeViewAccessibility* native_view_accessibility_; | 1571 NativeViewAccessibility* native_view_accessibility_; |
| 1572 | 1572 |
| 1573 DISALLOW_COPY_AND_ASSIGN(View); | 1573 DISALLOW_COPY_AND_ASSIGN(View); |
| 1574 }; | 1574 }; |
| 1575 | 1575 |
| 1576 } // namespace views | 1576 } // namespace views |
| 1577 | 1577 |
| 1578 #endif // UI_VIEWS_VIEW_H_ | 1578 #endif // UI_VIEWS_VIEW_H_ |
| OLD | NEW |