#ifndef MOJO_EXAMPLES_PEPPER_CONTAINER_APP_TYPE_CONVERTERS_H_
#define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_TYPE_CONVERTERS_H_
-#include "mojo/public/bindings/type_converter.h"
+#include "mojo/public/cpp/bindings/type_converter.h"
#include "mojo/services/native_viewport/native_viewport.mojom.h"
#include "ppapi/c/pp_point.h"
#include "ppapi/c/pp_rect.h"
return PP_MakePoint(static_cast<int32_t>(input.x()),
static_cast<int32_t>(input.y()));
}
+
+ MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
};
template <>
return PP_MakeSize(static_cast<int32_t>(input.width()),
static_cast<int32_t>(input.height()));
}
+
+ MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
};
template <>
input.size().To<PP_Size>() };
return rect;
}
+
+ MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
};
} // namespace mojo