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

Side by Side Diff: content/browser/compositor/delegated_frame_host.cc

Issue 261383002: Remove content/port directory and move the 3 remaining interfaces to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/geolocation/location_arbitrator_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/compositor/delegated_frame_host.h" 5 #include "content/browser/compositor/delegated_frame_host.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
10 #include "cc/output/compositor_frame_ack.h" 10 #include "cc/output/compositor_frame_ack.h"
11 #include "cc/output/copy_output_request.h" 11 #include "cc/output/copy_output_request.h"
12 #include "cc/resources/single_release_callback.h" 12 #include "cc/resources/single_release_callback.h"
13 #include "cc/resources/texture_mailbox.h" 13 #include "cc/resources/texture_mailbox.h"
14 #include "content/browser/compositor/resize_lock.h" 14 #include "content/browser/compositor/resize_lock.h"
15 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" 15 #include "content/public/browser/render_widget_host_view_frame_subscriber.h"
16 #include "content/public/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
17 #include "media/base/video_frame.h" 17 #include "media/base/video_frame.h"
18 #include "media/base/video_util.h" 18 #include "media/base/video_util.h"
19 #include "skia/ext/image_operations.h" 19 #include "skia/ext/image_operations.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 //////////////////////////////////////////////////////////////////////////////// 23 ////////////////////////////////////////////////////////////////////////////////
24 // DelegatedFrameHostClient 24 // DelegatedFrameHostClient
25 25
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 // that should keep our frame. old_layer will be returned to the 867 // that should keep our frame. old_layer will be returned to the
868 // RecreateLayer caller, and should have a copy. 868 // RecreateLayer caller, and should have a copy.
869 if (frame_provider_.get()) { 869 if (frame_provider_.get()) {
870 new_layer->SetShowDelegatedContent(frame_provider_.get(), 870 new_layer->SetShowDelegatedContent(frame_provider_.get(),
871 current_frame_size_in_dip_); 871 current_frame_size_in_dip_);
872 } 872 }
873 } 873 }
874 874
875 } // namespace content 875 } // namespace content
876 876
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/geolocation/location_arbitrator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698