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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 1809183002: gpu_messages.h => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make win_clang_x64_dbg happy by making command_buffer_traits an alias to gpu component on compnet b… Created 4 years, 9 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 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_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "cc/output/copy_output_request.h" 12 #include "cc/output/copy_output_request.h"
13 #include "cc/output/copy_output_result.h" 13 #include "cc/output/copy_output_result.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/accessibility/browser_accessibility_manager.h" 18 #include "content/browser/accessibility/browser_accessibility_manager.h"
19 #include "content/browser/browser_plugin/browser_plugin_guest.h" 19 #include "content/browser/browser_plugin/browser_plugin_guest.h"
20 #include "content/browser/compositor/surface_utils.h" 20 #include "content/browser/compositor/surface_utils.h"
21 #include "content/browser/frame_host/cross_process_frame_connector.h" 21 #include "content/browser/frame_host/cross_process_frame_connector.h"
22 #include "content/browser/gpu/compositor_util.h" 22 #include "content/browser/gpu/compositor_util.h"
23 #include "content/browser/renderer_host/render_view_host_impl.h" 23 #include "content/browser/renderer_host/render_view_host_impl.h"
24 #include "content/browser/renderer_host/render_widget_host_delegate.h" 24 #include "content/browser/renderer_host/render_widget_host_delegate.h"
25 #include "content/browser/renderer_host/render_widget_host_impl.h" 25 #include "content/browser/renderer_host/render_widget_host_impl.h"
26 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" 26 #include "content/browser/renderer_host/render_widget_host_input_event_router.h"
27 #include "content/common/gpu/gpu_messages.h"
28 #include "content/common/view_messages.h" 27 #include "content/common/view_messages.h"
29 #include "content/public/browser/render_process_host.h" 28 #include "content/public/browser/render_process_host.h"
30 #include "content/public/common/browser_plugin_guest_mode.h" 29 #include "content/public/common/browser_plugin_guest_mode.h"
30 #include "gpu/ipc/common/gpu_messages.h"
31 #include "ui/gfx/geometry/size_conversions.h" 31 #include "ui/gfx/geometry/size_conversions.h"
32 #include "ui/gfx/geometry/size_f.h" 32 #include "ui/gfx/geometry/size_f.h"
33 33
34 namespace content { 34 namespace content {
35 35
36 RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame( 36 RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame(
37 RenderWidgetHost* widget_host) 37 RenderWidgetHost* widget_host)
38 : host_(RenderWidgetHostImpl::From(widget_host)), 38 : host_(RenderWidgetHostImpl::From(widget_host)),
39 next_surface_sequence_(1u), 39 next_surface_sequence_(1u),
40 last_output_surface_id_(0), 40 last_output_surface_id_(0),
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 if (surface_factory_ && !surface_id_.is_null()) 580 if (surface_factory_ && !surface_id_.is_null())
581 surface_factory_->Destroy(surface_id_); 581 surface_factory_->Destroy(surface_id_);
582 surface_id_ = cc::SurfaceId(); 582 surface_id_ = cc::SurfaceId();
583 } 583 }
584 584
585 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { 585 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
586 return surface_id_; 586 return surface_id_;
587 }; 587 };
588 588
589 } // namespace content 589 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698