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/renderer_host/render_widget_host_view_aura.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
18 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
19 #include "base/trace_event/trace_event.h" | 19 #include "base/trace_event/trace_event.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
21 #include "cc/layers/layer.h" | 21 #include "cc/layers/layer.h" |
22 #include "cc/output/copy_output_request.h" | 22 #include "cc/output/copy_output_request.h" |
23 #include "cc/output/copy_output_result.h" | 23 #include "cc/output/copy_output_result.h" |
24 #include "cc/resources/texture_mailbox.h" | 24 #include "cc/resources/texture_mailbox.h" |
25 #include "cc/trees/layer_tree_settings.h" | 25 #include "cc/trees/layer_tree_settings.h" |
26 #include "components/display_compositor/gl_helper.h" | 26 #include "components/viz/display_compositor/gl_helper.h" |
27 #include "content/browser/accessibility/browser_accessibility_manager.h" | 27 #include "content/browser/accessibility/browser_accessibility_manager.h" |
28 #include "content/browser/accessibility/browser_accessibility_state_impl.h" | 28 #include "content/browser/accessibility/browser_accessibility_state_impl.h" |
29 #include "content/browser/bad_message.h" | 29 #include "content/browser/bad_message.h" |
30 #include "content/browser/frame_host/frame_tree.h" | 30 #include "content/browser/frame_host/frame_tree.h" |
31 #include "content/browser/frame_host/frame_tree_node.h" | 31 #include "content/browser/frame_host/frame_tree_node.h" |
32 #include "content/browser/frame_host/render_frame_host_impl.h" | 32 #include "content/browser/frame_host/render_frame_host_impl.h" |
33 #include "content/browser/gpu/compositor_util.h" | 33 #include "content/browser/gpu/compositor_util.h" |
34 #include "content/browser/renderer_host/delegated_frame_host_client_aura.h" | 34 #include "content/browser/renderer_host/delegated_frame_host_client_aura.h" |
35 #include "content/browser/renderer_host/dip_util.h" | 35 #include "content/browser/renderer_host/dip_util.h" |
36 #include "content/browser/renderer_host/input/synthetic_gesture_target_aura.h" | 36 #include "content/browser/renderer_host/input/synthetic_gesture_target_aura.h" |
(...skipping 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2406 } | 2406 } |
2407 | 2407 |
2408 void RenderWidgetHostViewAura::UpdateNeedsBeginFramesInternal() { | 2408 void RenderWidgetHostViewAura::UpdateNeedsBeginFramesInternal() { |
2409 if (!delegated_frame_host_) | 2409 if (!delegated_frame_host_) |
2410 return; | 2410 return; |
2411 delegated_frame_host_->SetNeedsBeginFrames(needs_begin_frames_ || | 2411 delegated_frame_host_->SetNeedsBeginFrames(needs_begin_frames_ || |
2412 needs_flush_input_); | 2412 needs_flush_input_); |
2413 } | 2413 } |
2414 | 2414 |
2415 } // namespace content | 2415 } // namespace content |
OLD | NEW |