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/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "cc/surfaces/surface.h" | 15 #include "cc/surfaces/surface.h" |
16 #include "cc/surfaces/surface_factory.h" | |
17 #include "cc/surfaces/surface_manager.h" | 16 #include "cc/surfaces/surface_manager.h" |
18 #include "cc/surfaces/surface_sequence.h" | 17 #include "cc/surfaces/surface_sequence.h" |
19 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 18 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
20 #include "content/browser/compositor/surface_utils.h" | 19 #include "content/browser/compositor/surface_utils.h" |
21 #include "content/browser/renderer_host/input/input_router.h" | 20 #include "content/browser/renderer_host/input/input_router.h" |
22 #include "content/browser/renderer_host/render_view_host_impl.h" | 21 #include "content/browser/renderer_host/render_view_host_impl.h" |
23 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 22 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
24 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 23 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
25 #include "content/common/browser_plugin/browser_plugin_messages.h" | 24 #include "content/common/browser_plugin/browser_plugin_messages.h" |
26 #include "content/common/content_switches_internal.h" | 25 #include "content/common/content_switches_internal.h" |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 host_->ForwardGestureEvent(gesture_event); | 652 host_->ForwardGestureEvent(gesture_event); |
654 return; | 653 return; |
655 } | 654 } |
656 } | 655 } |
657 | 656 |
658 bool RenderWidgetHostViewGuest::HasEmbedderChanged() { | 657 bool RenderWidgetHostViewGuest::HasEmbedderChanged() { |
659 return guest_ && guest_->has_attached_since_surface_set(); | 658 return guest_ && guest_->has_attached_since_surface_set(); |
660 } | 659 } |
661 | 660 |
662 } // namespace content | 661 } // namespace content |
OLD | NEW |