OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/frame_host/render_widget_host_view_guest.h" | 5 #include "content/browser/frame_host/render_widget_host_view_guest.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 24 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
25 #include "content/common/browser_plugin/browser_plugin_messages.h" | 25 #include "content/common/browser_plugin/browser_plugin_messages.h" |
26 #include "content/common/content_switches_internal.h" | 26 #include "content/common/content_switches_internal.h" |
27 #include "content/common/frame_messages.h" | 27 #include "content/common/frame_messages.h" |
28 #include "content/common/input/web_touch_event_traits.h" | 28 #include "content/common/input/web_touch_event_traits.h" |
29 #include "content/common/site_isolation_policy.h" | 29 #include "content/common/site_isolation_policy.h" |
30 #include "content/common/view_messages.h" | 30 #include "content/common/view_messages.h" |
31 #include "content/public/common/content_switches.h" | 31 #include "content/public/common/content_switches.h" |
32 #include "gpu/ipc/common/gpu_messages.h" | 32 #include "gpu/ipc/common/gpu_messages.h" |
33 #include "skia/ext/platform_canvas.h" | 33 #include "skia/ext/platform_canvas.h" |
34 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | |
35 | 34 |
36 #if defined(OS_MACOSX) | 35 #if defined(OS_MACOSX) |
37 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" | 36 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" |
38 #endif | 37 #endif |
39 | 38 |
40 #if defined(USE_AURA) | 39 #if defined(USE_AURA) |
41 #include "content/browser/renderer_host/ui_events_helper.h" | 40 #include "content/browser/renderer_host/ui_events_helper.h" |
42 #endif | 41 #endif |
43 | 42 |
44 namespace content { | 43 namespace content { |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 gesture_event.data.scrollUpdate.inertialPhase == | 664 gesture_event.data.scrollUpdate.inertialPhase == |
666 blink::WebGestureEvent::MomentumPhase) { | 665 blink::WebGestureEvent::MomentumPhase) { |
667 return; | 666 return; |
668 } | 667 } |
669 host_->ForwardGestureEvent(gesture_event); | 668 host_->ForwardGestureEvent(gesture_event); |
670 return; | 669 return; |
671 } | 670 } |
672 } | 671 } |
673 | 672 |
674 } // namespace content | 673 } // namespace content |
OLD | NEW |