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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/android/sync_compositor_messages.cc
diff --git a/content/common/android/sync_compositor_messages.cc b/content/common/android/sync_compositor_messages.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9c02322e5c5703019c86ba1c28dae534669fd9ee
--- /dev/null
+++ b/content/common/android/sync_compositor_messages.cc
@@ -0,0 +1,44 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/common/android/sync_compositor_messages.h"
+
+namespace content {
+
+SyncCompositorCommonBrowserParams::SyncCompositorCommonBrowserParams()
+ : bytes_limit(0u) {}
+
+SyncCompositorCommonBrowserParams::~SyncCompositorCommonBrowserParams() {}
+
+SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams() {}
+
+SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams(
+ const gfx::Size& surface_size,
+ const gfx::Transform& transform,
+ const gfx::Rect& viewport,
+ const gfx::Rect& clip,
+ const gfx::Rect& viewport_rect_for_tile_priority,
+ const gfx::Transform& transform_for_tile_priority)
+ : surface_size(surface_size),
+ transform(transform),
+ viewport(viewport),
+ clip(clip),
+ viewport_rect_for_tile_priority(viewport_rect_for_tile_priority),
+ transform_for_tile_priority(transform_for_tile_priority) {}
+
+SyncCompositorDemandDrawHwParams::~SyncCompositorDemandDrawHwParams() {}
+
+SyncCompositorCommonRendererParams::SyncCompositorCommonRendererParams()
+ : version(0u),
+ page_scale_factor(0.f),
+ min_page_scale_factor(0.f),
+ max_page_scale_factor(0.f),
+ need_animate_scroll(false),
+ need_invalidate(false),
+ need_begin_frame(false),
+ did_activate_pending_tree(false) {}
+
+SyncCompositorCommonRendererParams::~SyncCompositorCommonRendererParams() {}
+
+} // namespace content
« 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