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 "content/browser/web_contents/web_contents_view_aura.h" | 5 #include "content/browser/web_contents/web_contents_view_aura.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 12 #include "content/browser/frame_host/navigation_entry_impl.h" |
11 #include "content/browser/renderer_host/dip_util.h" | 13 #include "content/browser/renderer_host/dip_util.h" |
12 #include "content/browser/renderer_host/overscroll_controller.h" | 14 #include "content/browser/renderer_host/overscroll_controller.h" |
13 #include "content/browser/renderer_host/render_view_host_factory.h" | 15 #include "content/browser/renderer_host/render_view_host_factory.h" |
14 #include "content/browser/renderer_host/render_view_host_impl.h" | 16 #include "content/browser/renderer_host/render_view_host_impl.h" |
15 #include "content/browser/renderer_host/render_widget_host_impl.h" | 17 #include "content/browser/renderer_host/render_widget_host_impl.h" |
16 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 18 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
17 #include "content/browser/web_contents/aura/image_window_delegate.h" | 19 #include "content/browser/web_contents/aura/image_window_delegate.h" |
18 #include "content/browser/web_contents/aura/shadow_layer_delegate.h" | 20 #include "content/browser/web_contents/aura/shadow_layer_delegate.h" |
19 #include "content/browser/web_contents/aura/window_slider.h" | 21 #include "content/browser/web_contents/aura/window_slider.h" |
20 #include "content/browser/web_contents/interstitial_page_impl.h" | |
21 #include "content/browser/web_contents/navigation_entry_impl.h" | |
22 #include "content/browser/web_contents/touch_editable_impl_aura.h" | 22 #include "content/browser/web_contents/touch_editable_impl_aura.h" |
23 #include "content/browser/web_contents/web_contents_impl.h" | 23 #include "content/browser/web_contents/web_contents_impl.h" |
24 #include "content/public/browser/notification_observer.h" | 24 #include "content/public/browser/notification_observer.h" |
25 #include "content/public/browser/notification_registrar.h" | 25 #include "content/public/browser/notification_registrar.h" |
26 #include "content/public/browser/notification_source.h" | 26 #include "content/public/browser/notification_source.h" |
27 #include "content/public/browser/notification_types.h" | 27 #include "content/public/browser/notification_types.h" |
28 #include "content/public/browser/overscroll_configuration.h" | 28 #include "content/public/browser/overscroll_configuration.h" |
29 #include "content/public/browser/render_view_host.h" | 29 #include "content/public/browser/render_view_host.h" |
30 #include "content/public/browser/render_widget_host.h" | 30 #include "content/public/browser/render_widget_host.h" |
31 #include "content/public/browser/render_widget_host_view.h" | 31 #include "content/public/browser/render_widget_host_view.h" |
(...skipping 1614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 event.location(), | 1646 event.location(), |
1647 gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), | 1647 gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), |
1648 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); | 1648 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); |
1649 if (drag_dest_delegate_) | 1649 if (drag_dest_delegate_) |
1650 drag_dest_delegate_->OnDrop(); | 1650 drag_dest_delegate_->OnDrop(); |
1651 current_drop_data_.reset(); | 1651 current_drop_data_.reset(); |
1652 return current_drag_op_; | 1652 return current_drag_op_; |
1653 } | 1653 } |
1654 | 1654 |
1655 } // namespace content | 1655 } // namespace content |
OLD | NEW |