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

Unified Diff: cc/surfaces/surface_info.h

Issue 2633303003: Clean up RenderWidgetHostView(ChildFrame and Guest) compositing code (Closed)
Patch Set: c Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/cc_param_traits_macros.h ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_info.h
diff --git a/cc/surfaces/surface_info.h b/cc/surfaces/surface_info.h
index cbe7a0a09dc6fb654dab153dea325876c64e6ece..1c77d98976fc0ab291d449a462f4322bad8330ae 100644
--- a/cc/surfaces/surface_info.h
+++ b/cc/surfaces/surface_info.h
@@ -8,6 +8,11 @@
#include "cc/surfaces/surface_id.h"
#include "ui/gfx/geometry/size.h"
+namespace IPC {
+template <class T>
+struct ParamTraits;
+} // namespace IPC
+
namespace cc {
namespace mojom {
class SurfaceInfoDataView;
@@ -38,6 +43,7 @@ class SurfaceInfo {
private:
friend struct mojo::StructTraits<mojom::SurfaceInfoDataView, SurfaceInfo>;
+ friend struct IPC::ParamTraits<SurfaceInfo>;
SurfaceId id_;
float device_scale_factor_ = 1.f;
« no previous file with comments | « cc/ipc/cc_param_traits_macros.h ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698