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

Side by Side Diff: content/common/android/sync_compositor_messages.cc

Issue 1408123005: Android Webview IPC-based sync compositing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win compile Created 5 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/common/android/sync_compositor_messages.h"
6
7 namespace content {
8
9 SyncCompositorCommonBrowserParams::SyncCompositorCommonBrowserParams()
10 : bytes_limit(0u) {}
11
12 SyncCompositorCommonBrowserParams::~SyncCompositorCommonBrowserParams() {}
13
14 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams() {}
15
16 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams(
17 const gfx::Size& surface_size,
18 const gfx::Transform& transform,
19 const gfx::Rect& viewport,
20 const gfx::Rect& clip,
21 const gfx::Rect& viewport_rect_for_tile_priority,
22 const gfx::Transform& transform_for_tile_priority)
23 : surface_size(surface_size),
24 transform(transform),
25 viewport(viewport),
26 clip(clip),
27 viewport_rect_for_tile_priority(viewport_rect_for_tile_priority),
28 transform_for_tile_priority(transform_for_tile_priority) {}
29
30 SyncCompositorDemandDrawHwParams::~SyncCompositorDemandDrawHwParams() {}
31
32 SyncCompositorCommonRendererParams::SyncCompositorCommonRendererParams()
33 : version(0u),
34 page_scale_factor(0.f),
35 min_page_scale_factor(0.f),
36 max_page_scale_factor(0.f),
37 need_animate_scroll(false),
38 need_invalidate(false),
39 need_begin_frame(false),
40 did_activate_pending_tree(false) {}
41
42 SyncCompositorCommonRendererParams::~SyncCompositorCommonRendererParams() {}
43
44 } // namespace content
OLDNEW
« no previous file with comments | « content/common/android/sync_compositor_messages.h ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698