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/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "content/browser/renderer_host/dip_util.h" | 10 #include "content/browser/renderer_host/dip_util.h" |
11 #include "content/browser/renderer_host/overscroll_controller.h" | 11 #include "content/browser/renderer_host/overscroll_controller.h" |
12 #include "content/browser/renderer_host/render_view_host_factory.h" | 12 #include "content/browser/renderer_host/render_view_host_factory.h" |
13 #include "content/browser/renderer_host/render_view_host_impl.h" | 13 #include "content/browser/renderer_host/render_view_host_impl.h" |
14 #include "content/browser/renderer_host/render_widget_host_impl.h" | 14 #include "content/browser/renderer_host/render_widget_host_impl.h" |
15 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 15 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
16 #include "content/browser/web_contents/aura/image_window_delegate.h" | 16 #include "content/browser/web_contents/aura/image_window_delegate.h" |
17 #include "content/browser/web_contents/aura/shadow_layer_delegate.h" | 17 #include "content/browser/web_contents/aura/shadow_layer_delegate.h" |
18 #include "content/browser/web_contents/interstitial_page_impl.h" | 18 #include "content/browser/web_contents/interstitial_page_impl.h" |
19 #include "content/browser/web_contents/navigation_entry_impl.h" | 19 #include "content/browser/web_contents/navigation_entry_impl.h" |
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 event.location(), | 1417 event.location(), |
1418 gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), | 1418 gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), |
1419 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); | 1419 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); |
1420 if (drag_dest_delegate_) | 1420 if (drag_dest_delegate_) |
1421 drag_dest_delegate_->OnDrop(); | 1421 drag_dest_delegate_->OnDrop(); |
1422 current_drop_data_.reset(); | 1422 current_drop_data_.reset(); |
1423 return current_drag_op_; | 1423 return current_drag_op_; |
1424 } | 1424 } |
1425 | 1425 |
1426 } // namespace content | 1426 } // namespace content |
OLD | NEW |