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" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "cc/surfaces/surface.h" | 14 #include "cc/surfaces/surface.h" |
15 #include "cc/surfaces/surface_factory.h" | 15 #include "cc/surfaces/surface_factory.h" |
16 #include "cc/surfaces/surface_manager.h" | 16 #include "cc/surfaces/surface_manager.h" |
17 #include "cc/surfaces/surface_sequence.h" | 17 #include "cc/surfaces/surface_sequence.h" |
18 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 18 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
19 #include "content/browser/compositor/surface_utils.h" | 19 #include "content/browser/compositor/surface_utils.h" |
20 #include "content/browser/renderer_host/render_view_host_impl.h" | 20 #include "content/browser/renderer_host/render_view_host_impl.h" |
21 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 21 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
22 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 22 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
23 #include "content/common/browser_plugin/browser_plugin_messages.h" | 23 #include "content/common/browser_plugin/browser_plugin_messages.h" |
24 #include "content/common/frame_messages.h" | 24 #include "content/common/frame_messages.h" |
25 #include "content/common/input/web_touch_event_traits.h" | 25 #include "content/common/input/web_touch_event_traits.h" |
26 #include "content/common/site_isolation_policy.h" | 26 #include "content/common/site_isolation_policy.h" |
27 #include "content/common/view_messages.h" | 27 #include "content/common/view_messages.h" |
28 #include "content/common/webplugin_geometry.h" | |
29 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
30 #include "gpu/ipc/common/gpu_messages.h" | 29 #include "gpu/ipc/common/gpu_messages.h" |
31 #include "skia/ext/platform_canvas.h" | 30 #include "skia/ext/platform_canvas.h" |
32 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 31 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
33 | 32 |
34 #if defined(OS_MACOSX) | 33 #if defined(OS_MACOSX) |
35 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" | 34 #import "content/browser/renderer_host/render_widget_host_view_mac_dictionary_he
lper.h" |
36 #endif | 35 #endif |
37 | 36 |
38 #if defined(USE_AURA) | 37 #if defined(USE_AURA) |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && | 604 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && |
606 gesture_event.data.scrollUpdate.inertial) { | 605 gesture_event.data.scrollUpdate.inertial) { |
607 return; | 606 return; |
608 } | 607 } |
609 host_->ForwardGestureEvent(gesture_event); | 608 host_->ForwardGestureEvent(gesture_event); |
610 return; | 609 return; |
611 } | 610 } |
612 } | 611 } |
613 | 612 |
614 } // namespace content | 613 } // namespace content |
OLD | NEW |