Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: content/renderer/render_widget.cc

Issue 1560553002: Framelet Prototype 2016 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + Applied Brett's Windows + Fixed security issue Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 15 matching lines...) Expand all
26 #include "cc/output/output_surface.h" 26 #include "cc/output/output_surface.h"
27 #include "cc/trees/layer_tree_host.h" 27 #include "cc/trees/layer_tree_host.h"
28 #include "components/scheduler/renderer/render_widget_scheduling_state.h" 28 #include "components/scheduler/renderer/render_widget_scheduling_state.h"
29 #include "components/scheduler/renderer/renderer_scheduler.h" 29 #include "components/scheduler/renderer/renderer_scheduler.h"
30 #include "content/child/npapi/webplugin.h" 30 #include "content/child/npapi/webplugin.h"
31 #include "content/common/content_switches_internal.h" 31 #include "content/common/content_switches_internal.h"
32 #include "content/common/gpu/client/context_provider_command_buffer.h" 32 #include "content/common/gpu/client/context_provider_command_buffer.h"
33 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 33 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
34 #include "content/common/gpu/gpu_process_launch_causes.h" 34 #include "content/common/gpu/gpu_process_launch_causes.h"
35 #include "content/common/input/synthetic_gesture_packet.h" 35 #include "content/common/input/synthetic_gesture_packet.h"
36 #include "content/common/input/web_input_event_traits.h"
37 #include "content/common/input_messages.h" 36 #include "content/common/input_messages.h"
38 #include "content/common/swapped_out_messages.h" 37 #include "content/common/swapped_out_messages.h"
39 #include "content/common/view_messages.h" 38 #include "content/common/view_messages.h"
40 #include "content/public/common/content_switches.h" 39 #include "content/public/common/content_switches.h"
41 #include "content/public/common/context_menu_params.h" 40 #include "content/public/common/context_menu_params.h"
41 #include "content/public/common/input/web_input_event_traits.h"
42 #include "content/renderer/cursor_utils.h" 42 #include "content/renderer/cursor_utils.h"
43 #include "content/renderer/external_popup_menu.h" 43 #include "content/renderer/external_popup_menu.h"
44 #include "content/renderer/gpu/compositor_output_surface.h" 44 #include "content/renderer/gpu/compositor_output_surface.h"
45 #include "content/renderer/gpu/delegated_compositor_output_surface.h" 45 #include "content/renderer/gpu/delegated_compositor_output_surface.h"
46 #include "content/renderer/gpu/frame_swap_message_queue.h" 46 #include "content/renderer/gpu/frame_swap_message_queue.h"
47 #include "content/renderer/gpu/mailbox_output_surface.h" 47 #include "content/renderer/gpu/mailbox_output_surface.h"
48 #include "content/renderer/gpu/queue_message_swap_promise.h" 48 #include "content/renderer/gpu/queue_message_swap_promise.h"
49 #include "content/renderer/gpu/render_widget_compositor.h" 49 #include "content/renderer/gpu/render_widget_compositor.h"
50 #include "content/renderer/ime_event_guard.h" 50 #include "content/renderer/ime_event_guard.h"
51 #include "content/renderer/input/input_handler_manager.h" 51 #include "content/renderer/input/input_handler_manager.h"
(...skipping 2143 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { 2195 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) {
2196 video_hole_frames_.AddObserver(frame); 2196 video_hole_frames_.AddObserver(frame);
2197 } 2197 }
2198 2198
2199 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { 2199 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) {
2200 video_hole_frames_.RemoveObserver(frame); 2200 video_hole_frames_.RemoveObserver(frame);
2201 } 2201 }
2202 #endif // defined(VIDEO_HOLE) 2202 #endif // defined(VIDEO_HOLE)
2203 2203
2204 } // namespace content 2204 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/browser/guest_view/extensions_guest_view_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698