| 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 #include "ui/views/view.h" |     5 #include "ui/views/view.h" | 
|     6  |     6  | 
|     7 #include <algorithm> |     7 #include <algorithm> | 
|     8  |     8  | 
|     9 #include "base/debug/trace_event.h" |     9 #include "base/debug/trace_event.h" | 
|    10 #include "base/logging.h" |    10 #include "base/logging.h" | 
|    11 #include "base/memory/scoped_ptr.h" |    11 #include "base/memory/scoped_ptr.h" | 
|    12 #include "base/message_loop.h" |    12 #include "base/message_loop.h" | 
|    13 #include "base/stringprintf.h" |    13 #include "base/stringprintf.h" | 
|    14 #include "base/utf_string_conversions.h" |    14 #include "base/utf_string_conversions.h" | 
|    15 #include "third_party/skia/include/core/SkRect.h" |    15 #include "third_party/skia/include/core/SkRect.h" | 
|    16 #include "ui/base/accessibility/accessibility_types.h" |    16 #include "ui/base/accessibility/accessibility_types.h" | 
|    17 #include "ui/base/dragdrop/drag_drop_types.h" |    17 #include "ui/base/dragdrop/drag_drop_types.h" | 
 |    18 #include "ui/compositor/compositor.h" | 
 |    19 #include "ui/compositor/layer.h" | 
 |    20 #include "ui/compositor/layer_animator.h" | 
|    18 #include "ui/gfx/canvas.h" |    21 #include "ui/gfx/canvas.h" | 
|    19 #include "ui/gfx/compositor/compositor.h" |  | 
|    20 #include "ui/gfx/compositor/layer.h" |  | 
|    21 #include "ui/gfx/compositor/layer_animator.h" |  | 
|    22 #include "ui/gfx/interpolated_transform.h" |    22 #include "ui/gfx/interpolated_transform.h" | 
|    23 #include "ui/gfx/path.h" |    23 #include "ui/gfx/path.h" | 
|    24 #include "ui/gfx/point3.h" |    24 #include "ui/gfx/point3.h" | 
|    25 #include "ui/gfx/transform.h" |    25 #include "ui/gfx/transform.h" | 
|    26 #include "ui/views/background.h" |    26 #include "ui/views/background.h" | 
|    27 #include "ui/views/context_menu_controller.h" |    27 #include "ui/views/context_menu_controller.h" | 
|    28 #include "ui/views/drag_controller.h" |    28 #include "ui/views/drag_controller.h" | 
|    29 #include "ui/views/layout/layout_manager.h" |    29 #include "ui/views/layout/layout_manager.h" | 
|    30 #include "ui/views/views_delegate.h" |    30 #include "ui/views/views_delegate.h" | 
|    31 #include "ui/views/widget/native_widget_private.h" |    31 #include "ui/views/widget/native_widget_private.h" | 
| (...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2105  |  2105  | 
|  2106   // Message the RootView to do the drag and drop. That way if we're removed |  2106   // Message the RootView to do the drag and drop. That way if we're removed | 
|  2107   // the RootView can detect it and avoid calling us back. |  2107   // the RootView can detect it and avoid calling us back. | 
|  2108   gfx::Point widget_location(event.location()); |  2108   gfx::Point widget_location(event.location()); | 
|  2109   ConvertPointToWidget(this, &widget_location); |  2109   ConvertPointToWidget(this, &widget_location); | 
|  2110   GetWidget()->RunShellDrag(this, data, widget_location, drag_operations); |  2110   GetWidget()->RunShellDrag(this, data, widget_location, drag_operations); | 
|  2111 #endif  // !defined(OS_MACOSX) |  2111 #endif  // !defined(OS_MACOSX) | 
|  2112 } |  2112 } | 
|  2113  |  2113  | 
|  2114 }  // namespace views |  2114 }  // namespace views | 
| OLD | NEW |