| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_VIEW_H_ | 5 #ifndef VIEWS_VIEW_H_ |
| 6 #define VIEWS_VIEW_H_ | 6 #define VIEWS_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 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/base/dragdrop/os_exchange_data.h" | 19 #include "ui/base/dragdrop/os_exchange_data.h" |
| 20 #include "ui/gfx/compositor/layer_delegate.h" | 20 #include "ui/gfx/compositor/layer_delegate.h" |
| 21 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
| 22 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/rect.h" |
| 23 #include "views/accelerator.h" | 23 #include "views/accelerator.h" |
| 24 #include "views/background.h" | 24 #include "views/background.h" |
| 25 #include "views/border.h" | 25 #include "views/border.h" |
| 26 | 26 |
| 27 #if defined(OS_WIN) |
| 28 #include "base/win/scoped_comptr.h" |
| 29 #endif |
| 30 |
| 27 using ui::OSExchangeData; | 31 using ui::OSExchangeData; |
| 28 | 32 |
| 29 namespace gfx { | 33 namespace gfx { |
| 30 class Canvas; | 34 class Canvas; |
| 31 class Insets; | 35 class Insets; |
| 32 class Path; | 36 class Path; |
| 33 } | 37 } |
| 34 | 38 |
| 35 namespace ui { | 39 namespace ui { |
| 36 struct AccessibleViewState; | 40 struct AccessibleViewState; |
| 37 class Compositor; | 41 class Compositor; |
| 38 class Layer; | 42 class Layer; |
| 39 class LayerAnimationSequence; | 43 class LayerAnimationSequence; |
| 40 class Texture; | 44 class Texture; |
| 41 class ThemeProvider; | 45 class ThemeProvider; |
| 42 class Transform; | 46 class Transform; |
| 43 enum TouchStatus; | 47 enum TouchStatus; |
| 44 } | 48 } |
| 45 | 49 |
| 46 #if defined(OS_WIN) | 50 #if defined(OS_WIN) |
| 47 class NativeViewAccessibilityWin; | 51 class __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2")) |
| 52 NativeViewAccessibilityWin; |
| 48 #endif | 53 #endif |
| 49 | 54 |
| 50 namespace views { | 55 namespace views { |
| 51 | 56 |
| 52 class Background; | 57 class Background; |
| 53 class Border; | 58 class Border; |
| 54 class ContextMenuController; | 59 class ContextMenuController; |
| 55 class DragController; | 60 class DragController; |
| 56 class FocusManager; | 61 class FocusManager; |
| 57 class FocusTraversable; | 62 class FocusTraversable; |
| (...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 ContextMenuController* context_menu_controller_; | 1438 ContextMenuController* context_menu_controller_; |
| 1434 | 1439 |
| 1435 // Drag and drop ------------------------------------------------------------- | 1440 // Drag and drop ------------------------------------------------------------- |
| 1436 | 1441 |
| 1437 DragController* drag_controller_; | 1442 DragController* drag_controller_; |
| 1438 | 1443 |
| 1439 // Accessibility ------------------------------------------------------------- | 1444 // Accessibility ------------------------------------------------------------- |
| 1440 | 1445 |
| 1441 // The Windows-specific accessibility implementation for this view. | 1446 // The Windows-specific accessibility implementation for this view. |
| 1442 #if defined(OS_WIN) | 1447 #if defined(OS_WIN) |
| 1443 scoped_refptr<NativeViewAccessibilityWin> native_view_accessibility_win_; | 1448 base::win::ScopedComPtr<NativeViewAccessibilityWin> |
| 1449 native_view_accessibility_win_; |
| 1444 #endif | 1450 #endif |
| 1445 | 1451 |
| 1446 DISALLOW_COPY_AND_ASSIGN(View); | 1452 DISALLOW_COPY_AND_ASSIGN(View); |
| 1447 }; | 1453 }; |
| 1448 | 1454 |
| 1449 } // namespace views | 1455 } // namespace views |
| 1450 | 1456 |
| 1451 #endif // VIEWS_VIEW_H_ | 1457 #endif // VIEWS_VIEW_H_ |
| OLD | NEW |