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

Side by Side Diff: content/renderer/android/synchronous_compositor_proxy.cc

Issue 1883763002: Revert of Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/synchronous_compositor_proxy.h" 5 #include "content/renderer/android/synchronous_compositor_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "content/common/android/sync_compositor_messages.h" 10 #include "content/common/android/sync_compositor_messages.h"
11 #include "content/common/cc_messages.h" 11 #include "content/common/cc_messages.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
14 #include "ipc/ipc_sender.h" 14 #include "ipc/ipc_sender.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 15 #include "third_party/skia/include/core/SkBitmap.h"
16 #include "third_party/skia/include/core/SkCanvas.h" 16 #include "third_party/skia/include/core/SkCanvas.h"
17 #include "third_party/skia/include/core/SkImageInfo.h" 17 #include "third_party/skia/include/core/SkImageInfo.h"
18 #include "third_party/skia/include/core/SkRegion.h" 18 #include "third_party/skia/include/core/SkRegion.h"
19 #include "ui/events/latency_info.h"
19 #include "ui/gfx/skia_util.h" 20 #include "ui/gfx/skia_util.h"
20 #include "ui/latency_info/latency_info.h"
21 21
22 namespace content { 22 namespace content {
23 23
24 SynchronousCompositorProxy::SynchronousCompositorProxy( 24 SynchronousCompositorProxy::SynchronousCompositorProxy(
25 int routing_id, 25 int routing_id,
26 IPC::Sender* sender, 26 IPC::Sender* sender,
27 SynchronousCompositorExternalBeginFrameSource* begin_frame_source, 27 SynchronousCompositorExternalBeginFrameSource* begin_frame_source,
28 ui::SynchronousInputHandlerProxy* input_handler_proxy, 28 ui::SynchronousInputHandlerProxy* input_handler_proxy,
29 InputHandlerManagerClient::Handler* handler) 29 InputHandlerManagerClient::Handler* handler)
30 : routing_id_(routing_id), 30 : routing_id_(routing_id),
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 begin_frame_source_->SetBeginFrameSourcePaused( 433 begin_frame_source_->SetBeginFrameSourcePaused(
434 common_params.begin_frame_source_paused); 434 common_params.begin_frame_source_paused);
435 if (output_surface_ && !common_params.ack.resources.empty()) { 435 if (output_surface_ && !common_params.ack.resources.empty()) {
436 output_surface_->ReturnResources( 436 output_surface_->ReturnResources(
437 common_params.output_surface_id_for_returned_resources, 437 common_params.output_surface_id_for_returned_resources,
438 common_params.ack); 438 common_params.ack);
439 } 439 }
440 } 440 }
441 441
442 } // namespace content 442 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/renderer/input/main_thread_event_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698